static usb ethnet addresses
[automated-distro-installer] / fai-wrapper
index 4203f8069f2a92ccff14d05223b9ab2a2a29feae..5efa7f1c87cb63181ad1e342d3c8b6848b652339 100644 (file)
@@ -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=/