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
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"
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"