From 1b2c20877e56508251f2ae7a8e8114e0cc061234 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 17 Sep 2023 22:09:48 +0200 Subject: 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. --- make_slackware_live.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'make_slackware_live.sh') 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 -- cgit v1.2.3