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
fix various arch issues
[automated-distro-installer]
/
pxe-server
diff --git
a/pxe-server
b/pxe-server
index 1664253761ae818d846d07521291214a0a42f64b..ec299e47b734a14cf56752247f439700305a299c 100755
(executable)
--- a/
pxe-server
+++ b/
pxe-server
@@
-4,7
+4,8
@@
# and depending on the type, setup the tftp server.
# usage: $0 TYPE
# and depending on the type, setup the tftp server.
# usage: $0 TYPE
-# default distro is the base debian/fedora type. others are fai & arch
+# default distro is the base debian/fedora type. others are fai & arch.
+# for no pxe server, use a no-op like : or true.
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
@@
-15,7
+16,7
@@
fi
action=$1
arch() {
action=$1
arch() {
- default
+ plain-tftp
cat <<'EOF'
dhcp-option-force=209,boot/syslinux/archiso.cfg
dhcp-option-force=210,/arch/
cat <<'EOF'
dhcp-option-force=209,boot/syslinux/archiso.cfg
dhcp-option-force=210,/arch/