X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai-wrapper;h=5efa7f1c87cb63181ad1e342d3c8b6848b652339;hp=4203f8069f2a92ccff14d05223b9ab2a2a29feae;hb=6ca069946c8ff88d79d1ae421e0eda60ae1c514c;hpb=ed3681256885d295f39d5df60784d3281a2f8719 diff --git a/fai-wrapper b/fai-wrapper index 4203f80..5efa7f1 100644 --- a/fai-wrapper +++ b/fai-wrapper @@ -28,10 +28,11 @@ eval-fai-classfile() { echo "$0: probably an error: eval-fai-classfile no such file: $file" return 0 fi - fai-setclass $(bash -l $file) + 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=/