summaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 26abd8e..3e46134 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -50,8 +50,8 @@ if [ "$swap" == "y" ]; then
parted -s -- $device unit MB mkpart primary linux-swap 0 2000
parted -s -- $device unit MB mkpart primary ext2 2000 2200
parted -s -- $device unit MB mkpart primary ext2 2200 -1
- parted -s -- set 2 boot on
- parted -s -- set 3 lvm on
+ parted -s -- $device set 2 boot on
+ parted -s -- $device set 3 lvm on
# Change devices to absolute path names.
swap_device="$device"1
@@ -60,8 +60,8 @@ if [ "$swap" == "y" ]; then
else
parted -s -- $device unit MB mkpart primary ext2 0 200
parted -s -- $device unit MB mkpart primary ext2 200 -1
- parted -s -- set 1 boot on
- parted -s -- set 2 lvm on
+ parted -s -- $device set 1 boot on
+ parted -s -- $device set 2 lvm on
# Change devices to absolute path names.
boot_device="$device"1