From 7bc3e4b69d10343299df57a4122f10e0dbb3385c Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 12:55:37 -0300 Subject: [PATCH] pxe: recover netboot stuff yes, finally this is needed too --- pxe/install-pxe.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 8626227..f20de40 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -64,6 +64,11 @@ install_netboot() { if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" ]; then mkdir -p "${tftp_path}/pxelinux.cfg" cd "${tftp_path}" + if [ -f "${tftp_path}/netboot.tar.gz" ]; then + wget http://ftp.debian.org/debian/dists/${VERSION_CODENAME}/main/installer-amd64/current/images/netboot/netboot.tar.gz + tar xvf netboot.tar.gz + rm -rf "${tftp_path}/pxelinux.cfg" + fi extract_live_parts_for_tftp cat > "${tftp_path}/pxelinux.cfg/default" <