~raharper/curtin/trunk.apt-config-validate

« back to all changes in this revision

Viewing changes to curtin/commands/block_wipe.py

  • Committer: Ryan Harper
  • Date: 2016-07-27 16:07:22 UTC
  • mfrom: (390.2.1 curtin)
  • mto: This revision was merged to the branch mainline in revision 402.
  • Revision ID: ryan.harper@canonical.com-20160727160722-2ijq3prhfujdfejr
commands.block_wipe:  correct default wipe mode to 'superblock'

The default wipe mode for block_wipe was set to 'superblocks'
which is not a valid mode, instead it should be 'superblock'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
CMD_ARGUMENTS = (
37
37
    ((('-m', '--mode'),
38
38
      {'help': 'mode for wipe.', 'action': 'store',
39
 
       'default': 'superblocks',
 
39
       'default': 'superblock',
40
40
       'choices': ['zero', 'superblock', 'superblock-recursive', 'random']}),
41
41
     ('devices',
42
42
      {'help': 'devices to wipe', 'default': [], 'nargs': '+'}),