mirror of
https://github.com/dockur/windows.git
synced 2025-04-05 16:32:01 +00:00
Update define.sh
This commit is contained in:
parent
b887fe6a12
commit
146507f15f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user