aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-25 09:46:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-25 09:46:41 -0300
commit71d6b33d4ebfd90a714f33ef8bbb8326d5bd639e (patch)
treeb7712a3f34b0f81cbc3ce6465704f99716aee75f
parentf79d56fd47fc653ac4a77cee5d6e9083e427826d (diff)
downloadhydra-71d6b33d4ebfd90a714f33ef8bbb8326d5bd639e.tar.gz
hydra-71d6b33d4ebfd90a714f33ef8bbb8326d5bd639e.tar.bz2
Fix: provision: parted: remove silent flag from align-check invocations
-rwxr-xr-xshare/hydractl/provision8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 129acc0..e1451b9 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -300,7 +300,7 @@ else
fi
# Check alignment
- hydra_sudo_run parted -s -- $device align-check optimal 1
+ hydra_sudo_run parted -- $device align-check optimal 1
if [ "$encrypt" == "y" ]; then
# Second partition must also be aligned by a multiple of $optimal_sector_size
@@ -317,7 +317,7 @@ else
hydra_sudo_run parted -s -- $device set 2 lvm on
# Check alignment
- hydra_sudo_run parted -s -- $device align-check optimal 2
+ hydra_sudo_run parted -- $device align-check optimal 2
boot_device="${device}${partition_separator}2"
syst_device="${device}${partition_separator}2"
@@ -337,8 +337,8 @@ else
hydra_sudo_run parted -s -- $device set 3 lvm on
# Check alignment
- hydra_sudo_run parted -s -- $device align-check optimal 2
- hydra_sudo_run parted -s -- $device align-check optimal 3
+ hydra_sudo_run parted -- $device align-check optimal 2
+ hydra_sudo_run parted -- $device align-check optimal 3
boot_device="${device}${partition_separator}2"
syst_device="${device}${partition_separator}3"