X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fhooks%2Finstsoft.DEFAULT;h=3bf0f62939ff27719751f0037dc7b5f1abbfb649;hb=c4401645667c09f79fba88e9a77bac534bfc208e;hp=2d0c9058c9b8c2b52f5751e8e9c5159ecc08e1e5;hpb=f67d4b719356595b424aa3cd358abc79426583c5;p=automated-distro-installer diff --git a/fai/config/hooks/instsoft.DEFAULT b/fai/config/hooks/instsoft.DEFAULT index 2d0c905..3bf0f62 100755 --- a/fai/config/hooks/instsoft.DEFAULT +++ b/fai/config/hooks/instsoft.DEFAULT @@ -7,6 +7,15 @@ if ifclass VM && ! ifclass demohost || ifclass VOL_BULLSEYE_BOOTSTRAP || [[ ! $F exit 0 fi +if ifclass FSF; then + exit 0 +fi + +fcopy -riB /etc/apt/preferences.d +# ian: i'm guessing fai does this already +#fcopy -riB /etc/apt/sources.list.d + + keyfile=/var/lib/fai/config/distro-install-common/luks/host-$HOSTNAME f=$target/root/keyscript cat > $f <