X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fhooks%2Finstsoft.DEFAULT;fp=fai%2Fconfig%2Fhooks%2Finstsoft.demohost;h=d2a8f760244d1399caf0c662c858a71f26fa7e86;hb=eae06d9028e4e70a211afef4a73b971067203da1;hp=fa93c6b2fe90984dd537cf9972d8b8ad697ea31f;hpb=bba7eb6d061e8a98ffb744acb957cb9f725996cb;p=automated-distro-installer diff --git a/fai/config/hooks/instsoft.demohost b/fai/config/hooks/instsoft.DEFAULT similarity index 63% rename from fai/config/hooks/instsoft.demohost rename to fai/config/hooks/instsoft.DEFAULT index fa93c6b..d2a8f76 100755 --- a/fai/config/hooks/instsoft.demohost +++ b/fai/config/hooks/instsoft.DEFAULT @@ -1,5 +1,10 @@ #!/bin/bash +# exit for any vm which is not our test vm +if ifclass VM && ! ifclass demohost; then + exit 0 +fi + f=$target/root/keyscript cat > $f <