summaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index a6da48a..2eec2a3 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -105,12 +105,12 @@ EOF
echo "Boot device setup..."
mkfs.ext3 "$device"2
mount "$device"2 /tmp/debootstrap/boot
-grub-install --no-floppy "$device"
-echo " "$device"2 /boot ext3 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/etc/fstab
+echo "$device""2 /boot ext3 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/etc/fstab
# Grub.
if [ "$grub" == "y" ]; then
echo "Setting up GRUB..."
+ grub-install --no-floppy "$device"
mkdir -p /tmp/debootstrap/boot/grub/
cat /tmp/debootstrap/boot/grub/menu.lst <<-EOF
title $hostname (hd0)