X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai-wrapper;h=e54e2d534b229ebb37f790362f0cfc86f83d5736;hp=93e1c6dd6fdf901ca2a9eb379ee06fd288e7d0d4;hb=HEAD;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=/