~hannes-georg-0/cloud-init/add_mkswap_force_flag

« back to all changes in this revision

Viewing changes to cloudinit/config/cc_disk_setup.py

  • Committer: Hannes Georg
  • Date: 2016-05-30 07:40:28 UTC
  • Revision ID: hannes.georg@xing.com-20160530074028-vfl25jv946pyil6l
cc_disk_setup: added force flag for swap

Show diffs side-by-side

added added

removed removed

Lines of Context:
707
707
        'btrfs': '-f',
708
708
        'xfs': '-f',
709
709
        'reiserfs': '-f',
 
710
        'swap': '-f'
710
711
    }
711
712
 
712
713
    if 'ext' in fs.lower():