Merge pull request #42551 from binocvlar/fix-lack-of-align-check-output

Remove '-s' (--script) argument to parted within align_check function
This commit is contained in:
Mike Place 2017-07-27 12:35:31 -05:00 committed by GitHub
commit 69b06586da

View file

@ -216,7 +216,7 @@ def align_check(device, part_type, partition):
'Invalid partition passed to partition.align_check'
)
cmd = 'parted -m -s {0} align-check {1} {2}'.format(
cmd = 'parted -m {0} align-check {1} {2}'.format(
device, part_type, partition
)
out = __salt__['cmd.run'](cmd).splitlines()