]> gitweb.fluxo.info Git - hydra.git/commitdiff
Formatting
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Feb 2014 20:54:59 +0000 (17:54 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Feb 2014 20:54:59 +0000 (17:54 -0300)
share/hydractl/provision

index 5a885901da7960ff2770b5a8947a94daa3ef1797..ab499962fd9a30f2f9c0b9c1cad6db8cbae902de 100755 (executable)
@@ -77,23 +77,23 @@ function hydra_provision_create_volume {
 
 # Make sure there is provision config.
 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 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)"
-  hydra_user_config var_size 20G "Size of var partition (0 to not create it, -1 for all free space)"
-  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 domain example.com "Domain"
-  hydra_user_config arch amd64 "System arch"
-  hydra_user_config version wheezy "Distro version"
-  hydra_user_config vg vg "Install vg"
-  hydra_user_config grub y "Setup GRUB? (y/n)"
-  hydra_user_config mirror http://http.debian.net/debian/ "Debian mirror"
+  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   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)"
+  hydra_user_config   var_size          20G                              "Size of var partition  (0 to not create it, -1 for all free space)"
+  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   domain            example.com                      "Domain"
+  hydra_user_config   arch              amd64                            "System arch"
+  hydra_user_config   version           wheezy                           "Distro version"
+  hydra_user_config   vg                vg                               "Install vg"
+  hydra_user_config   grub              y                                "Setup GRUB? (y/n)"
+  hydra_user_config   mirror            http://http.debian.net/debian/   "Debian mirror"
 }
 
 # Setup.