summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-10-06 13:07:10 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-11-10 17:59:58 +0000
commit1f8e59fa5d861ed0a8271e9628d11d3e6d880402 (patch)
tree18237afec144dc7ebeab4fc707d518302216dc09
parentf6c334e0a3a755009414380d8882e7bda7916c96 (diff)
downloaddefinitions-1f8e59fa5d861ed0a8271e9628d11d3e6d880402.tar.gz
Make nfsboot-server.configure install pxelinux.0
-rwxr-xr-xnfsboot-server.configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/nfsboot-server.configure b/nfsboot-server.configure
index 47d00676..75ef8d35 100755
--- a/nfsboot-server.configure
+++ b/nfsboot-server.configure
@@ -51,3 +51,8 @@ for prefix in / /usr; do
fi
done
done
+
+pxelinux_file="$ROOT/usr/share/syslinux/pxelinux.0"
+if [ -e "$pxelinux_file" ]; then
+ cp "$pxelinux_file" "$ROOT$tftp_root/pxelinux.0"
+fi