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