aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 125fa81..b8d198f 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -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"