summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision14
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