aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-07 00:28:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-05-07 00:28:57 -0300
commitb3c30b2a85b6764f840c846360d1ac9b87e583e2 (patch)
tree7e0bfa92d18f268899e1b7cd42757c132e29e7cc /share
parentbf6e6a9936910893502a2b93688a299b225edd7c (diff)
downloadhydra-b3c30b2a85b6764f840c846360d1ac9b87e583e2.tar.gz
hydra-b3c30b2a85b6764f840c846360d1ac9b87e583e2.tar.bz2
Grub cleanup
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 2eec2a3..e31b195 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -84,7 +84,7 @@ echo LANG=C > /tmp/debootstrap/etc/default/locale
echo "Applying initial upgrades..."
chroot /tmp/debootstrap/ apt-get update
chroot /tmp/debootstrap/ apt-get upgrade -y
-chroot /tmp/debootstrap/ apt-get install locales cryptsetup lvm2 initramfs-tools grub -y
+chroot /tmp/debootstrap/ apt-get install locales cryptsetup lvm2 initramfs-tools -y
# Crypttab.
echo "Configuring crypttab..."
@@ -110,6 +110,7 @@ echo "$device""2 /boot ext3 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/
# Grub.
if [ "$grub" == "y" ]; then
echo "Setting up GRUB..."
+ chroot /tmp/debootstrap/ apt-get install grub-pc -y
grub-install --no-floppy "$device"
mkdir -p /tmp/debootstrap/boot/grub/
cat /tmp/debootstrap/boot/grub/menu.lst <<-EOF