expand to multiple hosts starting with tp
[automated-distro-installer] / fai / config / hooks / instsoft.DEFAULT
similarity index 63%
rename from fai/config/hooks/instsoft.demohost
rename to fai/config/hooks/instsoft.DEFAULT
index fa93c6b2fe90984dd537cf9972d8b8ad697ea31f..d2a8f760244d1399caf0c662c858a71f26fa7e86 100755 (executable)
@@ -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 <<EOFOUTER
 #!/bin/sh