~raharper/curtin/trunk.fix-lp1718699

Viewing all changes in revision 533.

  • Committer: Scott Moser
  • Author(s): Ryan Harper
  • Date: 2017-10-11 17:13:03 UTC
  • mfrom: (532.1.7 trunk.fix-lp1722322)
  • Revision ID: smoser@ubuntu.com-20171011171303-38zljqh9dp7auo4p
block_meta: use block.wipe_volume(mode=superblock) to clear MBR/GPT tables

In the case curtin is not directed to wipe the partition table via the
wipe: configuration, a disk may contain an MBR and sgdisk --clear does
not successfully wipe MBR tables. Replace the call to sgdisk with curtin
block.wipe_volume(mode=superblock) to clear both MBR and GPT

LP: 1722322

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: