From 146507f15f60da9e0a21b05abe0e9c2602ff2c53 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 18 Mar 2025 16:13:35 +0100 Subject: [PATCH] Update define.sh --- src/define.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/define.sh b/src/define.sh index cecc5eb..8515790 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1494,7 +1494,7 @@ prepareInstall() { echo "Set oFSO = CreateObject(\"Scripting.FileSystemObject\")" echo "Set oHosts = oFSO.GetFile(\"C:\Windows\System32\drivers\etc\hosts\")" echo "Set fileAPPEND = oFSO.OpenTextFile(\"C:\Windows\System32\drivers\etc\hosts\", 8, true)" - echo "fileAPPEND.Write(\"20.20.20.1 host.lan\")" + echo "fileAPPEND.Write(\"${VM_NET_IP%.*}.1 host.lan\")" echo "fileAPPEND.Close()" echo "" } | unix2dos > "$dir/\$OEM\$/admin.vbs"