aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index c328559..53cab77 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -312,7 +312,7 @@ hydra_sudo_run chroot $WORK/ apt-get install locales cryptsetup lvm2 initramfs-t
# Crypttab.
echo "Configuring crypttab..."
-echo "# <target name> <source device> <key file> <options>" > $WORK/etc/crypttab
+echo "# <target name> <source device> <key file> <options>" | $SUDO tee $WORK/etc/crypttab
if [ "$encrypt" == "y" ]; then
cat <<-EOF | $SUDO tee $WORK/etc/crypttab