fix: Gateway

This commit is contained in:
Kroese 2025-10-05 08:51:58 +02:00 committed by GitHub
parent b3f1cb913a
commit 469be849f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -756,8 +756,8 @@ updateXML() {
local language="$2" local language="$2"
local culture region user admin pass keyboard local culture region user admin pass keyboard
if [ -n "${VM_NET_IP:-}" ]; then if [ -n "${VM_NET_GATEWAY:-}" ]; then
sed -i "s/ 20.20.20.1 / ${VM_NET_IP%.*}.1 /g" "$asset" sed -i "s/ 20.20.20.1 / $VM_NET_GATEWAY /g" "$asset"
fi fi
[ -z "$HEIGHT" ] && HEIGHT="720" [ -z "$HEIGHT" ] && HEIGHT="720"