X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai-wrapper;h=5efa7f1c87cb63181ad1e342d3c8b6848b652339;hp=93e1c6dd6fdf901ca2a9eb379ee06fd288e7d0d4;hb=739efea3642e2f8a7a672c4600da152a27bedf1a;hpb=2fad38490e36bd2f0328b82c38448d9675e662e8 diff --git a/fai-wrapper b/fai-wrapper index 93e1c6d..5efa7f1 100644 --- a/fai-wrapper +++ b/fai-wrapper @@ -31,7 +31,8 @@ eval-fai-classfile() { fai-setclass $(bash $file) } export -f ifclass -classes=DEFAULT # used by fcopy +# DEFAULT is used by fcopy +classes="DEFAULT $(hostname)" export CLASS_DEFAULT=true if [[ ! -d $FAI_ROOT ]]; then export FAI_ROOT=/