summaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-02 16:28:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-02 16:28:44 -0200
commit89a529bbd989df9161c36eb66cd2839479c5ed35 (patch)
tree702c7a493ed73ce7c6352c7a6fac665daa16f83d /share/hydractl/provision
parent238c747ba3cf404ccded459e7500aa708fb2fb8f (diff)
downloadhydra-89a529bbd989df9161c36eb66cd2839479c5ed35.tar.gz
hydra-89a529bbd989df9161c36eb66cd2839479c5ed35.tar.bz2
Minor fix
Diffstat (limited to 'share/hydractl/provision')
-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"