]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 2 Jan 2013 18:28:44 +0000 (16:28 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 2 Jan 2013 18:28:44 +0000 (16:28 -0200)
share/hydractl/provision

index 125fa814af4b32b0bccc8f55be417d8d7ff19b82..b8d198f121cb029db81b790f708335eb6cd3bd55 100755 (executable)
@@ -50,7 +50,7 @@ function hydra_create_volume {
     echo "Creating encrypted $volume device..."
     hydra_safe_run cryptsetup -h sha256 -c aes-cbc-essiv:sha256 -s 256 luksFormat /dev/mapper/$vg-$volume
     hydra_safe_run cryptsetup luksOpen /dev/mapper/$vg-$volume $volume
-    hydra_safe_run mkfs.ext4 /dev/mapper/debootstrap
+    hydra_safe_run mkfs.ext4 /dev/mapper/$volume
 
     if [ "$volume" == "root" ]; then
       install_device="/dev/mapper/root"