mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #30974 from rallytime/bp-30949
Back-port #30949 to 2015.5
This commit is contained in:
commit
1c699a1664
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user