summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-24 13:47:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-24 13:47:07 -0300
commite83e7a54bf2d32d9d6ed48cad083267d6b1ff076 (patch)
treebb1df23418f6f307f97b83c8ad47262b7971d398 /share
parentd7631689fe156aec0fff9c91be87320907029a67 (diff)
downloadhydra-e83e7a54bf2d32d9d6ed48cad083267d6b1ff076.tar.gz
hydra-e83e7a54bf2d32d9d6ed48cad083267d6b1ff076.tar.bz2
Redirect fix
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