From 599abb2fd71aa254ae5975f16a0ab0aab9f025e9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 1 Feb 2013 18:20:59 -0200 Subject: Provision: fixing fstab entries --- share/hydractl/provision | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'share/hydractl/provision') 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 -- cgit v1.2.3