From 1ef84b60e93192eb8a31d41a0ab56cd6f9c63697 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 16 Oct 2024 22:52:22 +0200 Subject: [PATCH] pxe install: establish force true on conditional --- 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 68c036a..934fb11 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -97,7 +97,7 @@ END install_netboot() { # if you want to refresh install, remove or move dir - if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" ]; then + if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" = 'true' ]; then ${SUDO} mkdir -p "${tftp_path}/pxelinux.cfg" if [ ! -f "${tftp_path}/netboot.tar.gz" ]; then url="http://ftp.debian.org/debian/dists/${VERSION_CODENAME}/main/installer-amd64/current/images/netboot/netboot.tar.gz"