From d0fe423914448677a85c5558daf31713c6e5e6bd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 10 Apr 2012 13:04:23 -0300 Subject: Using parted for bootless --- share/hydractl/provision | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'share/hydractl/provision') 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 -- cgit v1.2.3