]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fixes
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 13 Apr 2012 13:51:52 +0000 (10:51 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 13 Apr 2012 13:51:52 +0000 (10:51 -0300)
share/hydractl/provision

index 0ab634f71cddbf1fee80f0c82c6ae79df505e01c..2d7676f736ce6ca2b83a1242adcf5f0e46221dd0 100755 (executable)
@@ -24,7 +24,7 @@ hydra_config_load
 hydra_user_input device /dev/sdb "Destination device"
 hydra_user_input root_size 20G "Size of root partition"
 hydra_user_input swap y "Use swap? (y/n)"
-hydra_user_input encrypt y "Encrypt system and storage volumes? (y/n)"
+hydra_user_input encrypt y "Encrypt volumes? (y/n)"
 hydra_user_input garbage y "Pre-fill volumes with garbage? (y/n)"
 hydra_user_input hostname $HOSTNAME "Hostname"
 hydra_user_input domain example.com "Domain"
@@ -193,7 +193,7 @@ if [ "$grub" == "y" ]; then
   hydra_safe_run chroot /tmp/debootstrap/ apt-get install grub-pc -y
   hydra_safe_run grub-install --root-directory=/tmp/debootstrap/boot --no-floppy "$device"
   mkdir -p /tmp/debootstrap/boot/grub/
-  cat /tmp/debootstrap/boot/grub/grub.cfg <<-EOF
+  cat >> /tmp/debootstrap/boot/grub/grub.cfg <<-EOF
 set menu_color_normal=white/blue
 set menu_color_highlight=yellow/red