X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fhooks%2Finstsoft.DEFAULT;fp=fai%2Fconfig%2Fhooks%2Finstsoft.DEFAULT;h=11620eb192454be9ba006e154f95e00d5994e032;hb=4261ad7e021ec77e7198cf42c3576dad07f12a64;hp=bdb856b467c6fccc896233dfae49b528b3ba6399;hpb=8730d8986b29c6481223b02a85eaf448212a97c1;p=automated-distro-installer diff --git a/fai/config/hooks/instsoft.DEFAULT b/fai/config/hooks/instsoft.DEFAULT index bdb856b..11620eb 100755 --- a/fai/config/hooks/instsoft.DEFAULT +++ b/fai/config/hooks/instsoft.DEFAULT @@ -30,8 +30,13 @@ chmod +x $f if ifclass tp; then - d=$target/root/shadow + d=$target/q/root/shadow mkdir -p $d - ls -la /var/lib/fai/config/distro-install-common + # ls -la /var/lib/fai/config/distro-install-common cp /var/lib/fai/config/distro-install-common/traci{,-simple} $d + chmod -R o-rwx $d + d=$target/q/root/luks + mkdir -p $d + cp /var/lib/fai/config/distro-install-common/host-{tp,demohost} $d + chmod -R o-rwx $d fi