aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 2269f73..290395c 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -49,7 +49,7 @@ read answer
# Disk partitioning.
if [ "$swap" == "y" ]; then
hydra_safe_run parted -s -- $device mklabel msdos
- hydra_safe_run parted -s -- $device unit MB mkpart primary linux-swap 0 2000
+ hydra_safe_run parted -s -- $device unit MB mkpart primary linux-swap 2 2000
hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 2000 2200
hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 2200 -1
hydra_safe_run parted -s -- $device set 2 boot on
@@ -61,7 +61,7 @@ if [ "$swap" == "y" ]; then
syst_device="$device"3
else
hydra_safe_run parted -s -- $device mklabel msdos
- hydra_safe_run parted -s -- $device unit MB mkpart primary ext2 0 200
+ 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 set 1 boot on
hydra_safe_run parted -s -- $device set 2 lvm on