mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
commit
69b06586da
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue