diff options
-rwxr-xr-x | share/hydractl/provision | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 6fc60dc..59f9e4f 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -162,16 +162,16 @@ if ! vgdisplay $vg &> /dev/null; then hydra_safe_run vgcreate $vg $syst_device fi -# Create root partition +# Create root partition. hydra_safe_run vgchange -a y $vg hydra_provision_lvcreate root $root_size -# Create home partition +# Create home partition. if [ "$home_size" != "0" ]; then hydra_provision_lvcreate home $home_size fi -# Create var partition +# Create var partition. if [ "$var_size" != "0" ]; then hydra_provision_lvcreate var $var_size fi @@ -205,20 +205,20 @@ done # Create root fs hydra_provision_create_volume root -# Create home fs +# Create home fs. if [ "$home_size" != "0" ]; then hydra_provision_create_volume home fi -# Create var fs +# Create var fs. if [ "$var_size" != "0" ]; then hydra_provision_create_volume var fi -# Mount root volume +# Mount root volume. hydra_safe_run mount $install_device /tmp/debootstrap/ -# Mount additional volumes +# Mount additional volumes. if [ "$home_size" != "0" ]; then mkdir /tmp/debootstrap/home |