Merge pull request #30974 from rallytime/bp-30949

Back-port #30949 to 2015.5
This commit is contained in:
Mike Place 2016-02-08 09:38:46 -07:00
commit 1c699a1664

View File

@ -47,8 +47,8 @@ def connect(image):
'{0} does not exist'.format(image))
return ''
if salt.utils.which('cfdisk'):
fdisk = 'cfdisk -P t'
if salt.utils.which('sfdisk'):
fdisk = 'sfdisk -d'
else:
fdisk = 'fdisk -l'
__salt__['cmd.run']('modprobe nbd max_part=63')