pxe: add FORCE for netboot

This commit is contained in:
pedro 2024-09-24 13:44:05 -03:00
parent 9eb56591fe
commit 4cf12421d1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ END
install_netboot() { install_netboot() {
# if you want to refresh install, remove or move dir # 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}" mkdir -p "${tftp_path}"
cd "${tftp_path}" cd "${tftp_path}"
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