]> gitweb.fluxo.info Git - hydra.git/commitdiff
Provision: changing default hostname, device_label and vg name
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Aug 2014 14:44:50 +0000 (11:44 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Aug 2014 14:44:50 +0000 (11:44 -0300)
share/hydractl/provision

index 3067f799f0b7a35002972f6acad1f30a36b2a87d..11b141f370cc0d071f6e25a84b1d1f99819a9ce6 100755 (executable)
@@ -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"
 }