diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-24 13:47:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-24 13:47:07 -0300 |
commit | e83e7a54bf2d32d9d6ed48cad083267d6b1ff076 (patch) | |
tree | bb1df23418f6f307f97b83c8ad47262b7971d398 /share/hydractl/provision | |
parent | d7631689fe156aec0fff9c91be87320907029a67 (diff) | |
download | hydra-e83e7a54bf2d32d9d6ed48cad083267d6b1ff076.tar.gz hydra-e83e7a54bf2d32d9d6ed48cad083267d6b1ff076.tar.bz2 |
Redirect fix
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-x | share/hydractl/provision | 2 |
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 |