1
0
قرینه از https://github.com/dockur/windows.git synced 2026-06-13 13:49:32 +08:00

fix: Samba for user-mode networking (#1132)

This commit is contained in:
Kroese
2025-03-18 19:27:37 +01:00
کامیت شده توسط GitHub
والد f454fa7b34
کامیت a3a2b3fb09
3فایلهای تغییر یافته به همراه18 افزوده شده و 0 حذف شده
+6
مشاهده پرونده
@@ -1491,6 +1491,12 @@ prepareInstall() {
echo ""
echo "Call Domain.MoveHere(LocalAdminADsPath, \"$username\")"
echo ""
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(\"${VM_NET_IP%.*}.1 host.lan\")"
echo "fileAPPEND.Close()"
echo ""
} | unix2dos > "$dir/\$OEM\$/admin.vbs"
{ echo "[COMMANDS]"