aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-09-17 22:09:48 +0200
committer Eric Hameleers <alien@slackware.com>2023-09-17 22:09:48 +0200
commit1b2c20877e56508251f2ae7a8e8114e0cc061234 (patch)
tree63ea057c81b84033676bb4b16fde6b326dd9d670 /make_slackware_live.sh
parent394ec78a29c36cddcd3188e2a911527c151390a0 (diff)
downloadliveslak-1b2c20877e56508251f2ae7a8e8114e0cc061234.tar.gz
liveslak-1b2c20877e56508251f2ae7a8e8114e0cc061234.tar.xz
Fix pxeserver and expand its functionality
- PXE boot of a UEFI computer finally works. Note that if it does not work for you out of the box, look at the section where a section of 'dhcp-match' and 'dhcp-boot' lines is commented out. If you remove the comment characters from these 8 lines and instead, add a comment character '#' in front of the 'dhcp-match' and 'pxe-service' lines a bit higher up, your UEFI computer might actually succeed in booting over the network. - Optionally, the script can hide its PXE clients behind a NAT router in case external network is not accessible via normal routing. - Correct nmcli syntax is being used now... - Network interface will be de-configured when the script ends, likewise any NAT iptables rules will be removed afterwards.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 9262a84..e96d136 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2173,6 +2173,7 @@ cat ${LIVE_TOOLDIR}/pxeserver.tpl | sed \
-e "s/@LIVEDE@/$LIVEDE/g" \
-e "s/@LIVEMAIN@/$LIVEMAIN/g" \
-e "s/@MARKER@/$MARKER/g" \
+ -e "s/@KAPPEND@/$KAPPEND/g" \
-e "s/@SL_VERSION@/$SL_VERSION/g" \
-e "s/@VERSION@/$VERSION/g" \
> ${LIVE_ROOTDIR}/usr/local/sbin/pxeserver