From cc070c2cce0d0898b7833a1a9be0191cd395d403 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 24 Sep 2024 13:44:05 -0300 Subject: [PATCH] pxe: add FORCE for netboot --- pxe/install-pxe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index c8448f4..91983d3 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -43,7 +43,7 @@ END install_netboot() { # if you want to refresh install, remove or move dir - if [ ! -d "${tftp_path}" ]; then + if [ ! -d "${tftp_path}" ] || [ "${FORCE}" ]; then mkdir -p "${tftp_path}" cd "${tftp_path}" wget http://ftp.debian.org/debian/dists/${VERSION_CODENAME}/main/installer-amd64/current/images/netboot/netboot.tar.gz