From b977119ee258632510c42ae768b577e5cfc14931 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 5 Oct 2025 08:53:13 +0200 Subject: [PATCH] fix: Gateway --- src/define.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/define.sh b/src/define.sh index 6edc4bd..160b9d8 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1585,7 +1585,7 @@ prepareInstall() { [ -z "$password" ] && password="admin" local ip="20.20.20.1" - [ -n "${VM_NET_IP:-}" ] && ip="${VM_NET_IP%.*}.1" + [ -n "${VM_NET_GATEWAY:-}" ] && ip="$VM_NET_GATEWAY" find "$target" -maxdepth 1 -type f -iname winnt.sif -exec rm {} \;