aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision22
1 files changed, 11 insertions, 11 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 3569cbf..24fd614 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -173,9 +173,9 @@ if [ "$num_devices" != "1" ]; then
device="/dev/md/$hostname"
for dev in $physical_devices; do
- hydra_sudo_run parted -s -- $dev mklabel gpt
- hydra_sudo_run parted -s -a optimal -- $dev mkpart ext4 1M 100%
- hydra_sudo_run parted -s -- $dev set 1 raid on
+ hydra_sudo_run parted -s -- $dev mklabel gpt
+ hydra_sudo_run parted -s -- $dev mkpart ext4 1M 100%
+ hydra_sudo_run parted -s -- $dev set 1 raid on
done
mdadm --create --verbose $device --level=1 --raid-devices=$num_devices $physical_devices
@@ -187,20 +187,20 @@ if [ "$num_devices" != "1" ]; then
syst_device="$device"
else
# Regular disk partitioning.
- hydra_sudo_run parted -s -- $device mklabel gpt
- hydra_sudo_run parted -s -a optimal -- $device unit MB mkpart non-fs 2 3
- hydra_sudo_run parted -s -- $device set 1 bios_grub on
+ hydra_sudo_run parted -s -- $device mklabel gpt
+ hydra_sudo_run parted -s -- $device unit MB mkpart non-fs 2 3
+ hydra_sudo_run parted -s -- $device set 1 bios_grub on
if [ "$encrypt" == "y" ]; then
- hydra_sudo_run parted -s -a optimal -- $device unit MB mkpart ext2 3 -1
- hydra_sudo_run parted -s -- $device set 2 lvm on
+ hydra_sudo_run parted -s -- $device unit MB mkpart ext2 3 -1
+ hydra_sudo_run parted -s -- $device set 2 lvm on
boot_device="$device"2
syst_device="$device"2
else
- hydra_sudo_run parted -s -a optimal -- $device unit MB mkpart ext2 3 200
- hydra_sudo_run parted -s -a optimal -- $device unit MB mkpart ext2 200 -1
- hydra_sudo_run parted -s -- $device set 3 lvm on
+ hydra_sudo_run parted -s -- $device unit MB mkpart ext2 3 200
+ hydra_sudo_run parted -s -- $device unit MB mkpart ext2 200 -1
+ hydra_sudo_run parted -s -- $device set 3 lvm on
boot_device="$device"2
syst_device="$device"3