hwe kernel to fix btrfs-send bug
[automated-distro-installer] / fai-wrapper
index 45804a5a669f968cef9ae3f63fd164ec963ec8a6..04625fd2063e4ba3fa3e5a2cfb6f8a0875652b43 100644 (file)
@@ -16,6 +16,8 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 # For using some fai commands outside of fai.
+# Usually this is sourced from another script. Note this has
+# paths specific to Ian's machine.
 # to set fai classes, export CLASS_CLASSNAME=true
 ifclass() {
     local var=${1/#/CLASS_}
@@ -35,7 +37,8 @@ eval-fai-classfile() {
     fai-setclass $(bash -l $file)
 }
 export -f ifclass
-classes=  # used by fcopy
+classes=DEFAULT  # used by fcopy
+export CLASS_DEFAULT=true
 eval-fai-classfile /a/bin/fai/fai/config/class/50-host-classes
 export FAI_ROOT=/
 export FAI=/a/bin/fai/fai/config