summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-07 00:09:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-05-07 00:09:32 -0300
commitbf6e6a9936910893502a2b93688a299b225edd7c (patch)
tree08eaca720d25f5b24da656316da722767a824b73
parent303c59ed54eb13ee155dce7625f7da5858e3bb67 (diff)
downloadhydra-bf6e6a9936910893502a2b93688a299b225edd7c.tar.gz
hydra-bf6e6a9936910893502a2b93688a299b225edd7c.tar.bz2
Grub and fstab fixes
-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)