feature: workbench pxe #2

Merged
pedro merged 83 commits from pxe into main 2024-09-28 02:19:31 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8e4186d9d4 - Show all commits

View File

@ -64,7 +64,7 @@ install_netboot() {
if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" ]; then if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" ]; then
mkdir -p "${tftp_path}/pxelinux.cfg" mkdir -p "${tftp_path}/pxelinux.cfg"
cd "${tftp_path}" cd "${tftp_path}"
if [ -f "${tftp_path}/netboot.tar.gz" ]; then 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 wget http://ftp.debian.org/debian/dists/${VERSION_CODENAME}/main/installer-amd64/current/images/netboot/netboot.tar.gz
tar xvf netboot.tar.gz tar xvf netboot.tar.gz
rm -rf "${tftp_path}/pxelinux.cfg" rm -rf "${tftp_path}/pxelinux.cfg"