From: Ian Kelling Date: Fri, 18 Nov 2016 14:43:05 +0000 (-0800) Subject: moving nocow to post fai phase X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=commitdiff_plain;h=0963c8a7cc43c5380fa8085d41243aa3f2ead5a3 moving nocow to post fai phase --- diff --git a/fai/config/hooks/partition.DEFAULT b/fai/config/hooks/partition.DEFAULT index f81c6af..c4f26ea 100755 --- a/fai/config/hooks/partition.DEFAULT +++ b/fai/config/hooks/partition.DEFAULT @@ -363,9 +363,6 @@ if [[ $DISTRO != debianstable_bootstrap ]]; then cd /mnt btrfs subvolume create root_$DISTRO - [[ -e nocow ]] || btrfs subvolume create nocow - chown root:1000 nocow - chattr +C nocow mkdir -p /mnt/root_$DISTRO/boot # could set default subvol like this, but no reason to. @@ -418,10 +415,9 @@ BOOT_DEVICE="${short_devs[@]}" ROOT_PARTITION=$first_boot_dev EOF else - # note, fai creates the mountpoints like /nocow + # note, fai creates the mountpoints listed here cat > /tmp/fai/fstab <