From 0963c8a7cc43c5380fa8085d41243aa3f2ead5a3 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 18 Nov 2016 06:43:05 -0800 Subject: [PATCH] moving nocow to post fai phase --- fai/config/hooks/partition.DEFAULT | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 <