mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Gateway
This commit is contained in:
parent
b3f1cb913a
commit
469be849f0
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue