From: Silvio Rhatto Date: Thu, 24 Sep 2015 16:47:07 +0000 (-0300) Subject: Redirect fix X-Git-Tag: 0.2.4~288 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e83e7a54bf2d32d9d6ed48cad083267d6b1ff076;p=hydra.git Redirect fix --- 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 "# " > $WORK/etc/crypttab +echo "# " | $SUDO tee $WORK/etc/crypttab if [ "$encrypt" == "y" ]; then cat <<-EOF | $SUDO tee $WORK/etc/crypttab