X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai-wrapper;h=5efa7f1c87cb63181ad1e342d3c8b6848b652339;hp=93e1c6dd6fdf901ca2a9eb379ee06fd288e7d0d4;hb=1b08e82a978c8db76e1ebc67f3b4ae875ba27537;hpb=78a1427fc167ccee73d448054a9c40c19d737ed3 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=/