]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix: provision: parted: remove silent flag from align-check invocations
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Jan 2022 12:46:41 +0000 (09:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Jan 2022 12:46:41 +0000 (09:46 -0300)
share/hydractl/provision

index 129acc0e7325ea2394cd23cc457e51c6b37d1016..e1451b9cb7014b5c3d67c8c742a5aa8a8cd6500e 100755 (executable)
@@ -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"