iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t11 and new partitioner fixes
[automated-distro-installer]
/
fai-wrapper
diff --git
a/fai-wrapper
b/fai-wrapper
index 4203f8069f2a92ccff14d05223b9ab2a2a29feae..5efa7f1c87cb63181ad1e342d3c8b6848b652339 100644
(file)
--- 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
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
}
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=/
export CLASS_DEFAULT=true
if [[ ! -d $FAI_ROOT ]]; then
export FAI_ROOT=/