diff options
-rwxr-xr-x | share/hydractl/provision | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 6863431..5a06c20 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -134,10 +134,10 @@ fi if [ "$swap" != "0" ]; then boot_end=$(($swap_size + 200)) hydra_safe_run parted -s -- $device mklabel gpt - hydra_safe_run parted -s -- $device unit MB mkpart primary non-fs 0 2 - hydra_safe_run parted -s -- $device unit MB mkpart primary linux-swap 2 $swap_size - hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 $swap_size $boot_end - hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 $boot_end -1 + hydra_safe_run parted -s -- $device unit MB mkpart non-fs 2 3 + hydra_safe_run parted -s -- $device unit MB mkpart linux-swap 3 $swap_size + hydra_safe_run parted -s -- $device unit MB mkpart ext2 $swap_size $boot_end + hydra_safe_run parted -s -- $device unit MB mkpart ext2 $boot_end -1 hydra_safe_run parted -s -- $device set 1 bios_grub on hydra_safe_run parted -s -- $device set 3 boot on hydra_safe_run parted -s -- $device set 4 lvm on @@ -148,9 +148,9 @@ if [ "$swap" != "0" ]; then syst_device="$device"4 else hydra_safe_run parted -s -- $device mklabel gpt - hydra_safe_run parted -s -- $device unit MB mkpart primary non-fs 0 2 - hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 2 200 - hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 200 -1 + hydra_safe_run parted -s -- $device unit MB mkpart non-fs 2 3 + hydra_safe_run parted -s -- $device unit MB mkpart ext2 3 200 + hydra_safe_run parted -s -- $device unit MB mkpart ext2 200 -1 hydra_safe_run parted -s -- $device set 1 bios_grub on hydra_safe_run parted -s -- $device set 2 boot on hydra_safe_run parted -s -- $device set 3 lvm on |