diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 18:20:59 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 18:20:59 -0200 |
commit | 599abb2fd71aa254ae5975f16a0ab0aab9f025e9 (patch) | |
tree | 8b79003a175b9112724adf3026141570f8643020 /share/hydractl/provision | |
parent | f7e733c22580102bed35b1e9779465fad16e9027 (diff) | |
download | hydra-599abb2fd71aa254ae5975f16a0ab0aab9f025e9.tar.gz hydra-599abb2fd71aa254ae5975f16a0ab0aab9f025e9.tar.bz2 |
Provision: fixing fstab entries
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-x | share/hydractl/provision | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 30a1ddc..4a270ed 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -306,12 +306,12 @@ EOF fi if [ "$encrypt" == "y" ]; then - cat > /tmp/debootstrap/etc/fstab <<-EOF -/dev/mapper/root / ext4 defaults,errors=remount-ro 0 1 + cat >> /tmp/debootstrap/etc/fstab <<-EOF +/dev/mapper/root / ext4 defaults,errors=remount-ro 0 1 EOF else - cat > /tmp/debootstrap/etc/fstab <<-EOF -/dev/mapper/vg-root / ext4 defaults,errors=remount-ro 0 1 + cat >> /tmp/debootstrap/etc/fstab <<-EOF +/dev/mapper/vg-root / ext4 defaults,errors=remount-ro 0 1 EOF fi @@ -322,7 +322,7 @@ if [ "$home_size" != "0" ]; then EOF else cat >> /tmp/debootstrap/etc/fstab <<-EOF -/dev/mapper/vg-home /home ext4 defaults,errors=remount-ro 0 2 +/dev/mapper/vg-home /home ext4 defaults,errors=remount-ro 0 2 EOF fi fi @@ -330,11 +330,11 @@ fi if [ "$var_size" != "0" ]; then if [ "$encrypt" == "y" ]; then cat >> /tmp/debootstrap/etc/fstab <<-EOF -/dev/mapper/var /var ext4 defaults,errors=remount-ro 0 2 +/dev/mapper/var /var ext4 defaults,errors=remount-ro 0 2 EOF else cat >> /tmp/debootstrap/etc/fstab <<-EOF -/dev/mapper/vg-var /var ext4 defaults,errors=remount-ro 0 2 +/dev/mapper/vg-var /var ext4 defaults,errors=remount-ro 0 2 EOF fi fi |