X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fhooks%2Fpartition.DEFAULT;h=aa7440968b8eaca3cde4c43672a69ad5825441c0;hp=dc328c0c44fd0ff90009d8e65e7a032025f20d3d;hb=1d331faf4f315ae3356ceecb648170d3d74473df;hpb=3b848c7ec9f673b8257fcd6f645d82289b027c9c diff --git a/fai/config/hooks/partition.DEFAULT b/fai/config/hooks/partition.DEFAULT index dc328c0..aa74409 100755 --- a/fai/config/hooks/partition.DEFAULT +++ b/fai/config/hooks/partition.DEFAULT @@ -294,7 +294,7 @@ btrfs subvolume create root_$DISTRO chown root:1000 q mkdir -p /mnt/root_$DISTRO/boot -for x in root/a q/a; do +for x in q/a q/i; do mkdir -p $x chown 1000:1000 $x chmod 755 $x @@ -315,7 +315,7 @@ umount /mnt ## end create subvols ## - +# note, the mount point /a seems to get automatically created somewhere cat > /tmp/fai/fstab <> /tmp/fai/fstab <<'EOF' -UUID=3f7b31cd-f299-40b4-a86b-7604282e2715 /i btrfs noatime 0 2 +UUID=3f7b31cd-f299-40b4-a86b-7604282e2715 /i btrfs noatime 0 2 +EOF +fi + +if ifclass frodo; then + cat >> /tmp/fai/fstab <<'EOF' +/q/i /i none bind 0 0 EOF fi