aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index ef9f1b3..7fedc6a 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -123,6 +123,9 @@ hydra_provision_config_load $1
# Parameters
WORK="/tmp/debootstrap"
+# Set environment
+export LC_ALL=C
+
# Get config parameters.
hydra_provision_config
@@ -463,7 +466,7 @@ hydra_sudo_run chroot $WORK passwd root
# Fingerprints
hydra_provision_fingerprints
-# Turn off device
+echo "Umounting installation device..."
hydra_sudo_run umount $WORK/sys $WORK/proc $WORK/dev $WORK
hydra_sudo_run cryptsetup luksClose provision-swap
hydra_sudo_run cryptsetup luksClose provision-root