aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-08-09 11:44:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-08-09 11:44:50 -0300
commit3b641d65e139f4d9370cd4c2290227656b4b7c76 (patch)
tree09ccdbb891c40f65ae18d4398ec2765d1fd263c3
parent93d5701ab712770535be85de7d78d695b58d0ec8 (diff)
downloadhydra-3b641d65e139f4d9370cd4c2290227656b4b7c76.tar.gz
hydra-3b641d65e139f4d9370cd4c2290227656b4b7c76.tar.bz2
Provision: changing default hostname, device_label and vg name
-rwxr-xr-xshare/hydractl/provision6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 3067f79..11b141f 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -87,7 +87,7 @@ function hydra_provision_config {
hydra_user_config interactive y "Interactive mode? (y/n)"
hydra_user_config device /dev/sdb "Destination device"
- hydra_user_config device_label msdos "Device disk label"
+ hydra_user_config device_label gpt "Device disk label"
hydra_user_config root_size 20G "Size of root partition"
hydra_user_config swap_size 2000 "Swap size (in MB, 0 to not create it)"
hydra_user_config home_size 20G "Size of home partition (0 to not create it, -1 for all free space)"
@@ -95,11 +95,11 @@ function hydra_provision_config {
hydra_user_config encrypt y "Encrypt volumes? (y/n)"
hydra_user_config garbage y "Pre-fill volumes with garbage? (y/n)"
hydra_user_config disable_zeroing n "Disable zeroing of lvm volumes? (y/n)"
- hydra_user_config hostname $HOSTNAME "Hostname"
+ hydra_user_config hostname machine "Hostname"
hydra_user_config domain example.org "Domain"
hydra_user_config arch $base_arch "System arch"
hydra_user_config version wheezy "Distro version"
- hydra_user_config vg vg "Install vg"
+ hydra_user_config vg $hostname "Install vg"
hydra_user_config grub y "Setup GRUB? (y/n)"
hydra_user_config mirror http://http.debian.net/debian/ "Debian mirror"
}