Last active
September 5, 2025 00:03
-
-
Save dmi3mis/ffbc7cc229ab61d72a5a5d487328aa8f to your computer and use it in GitHub Desktop.
Revisions
-
dmi3mis revised this gist
Sep 5, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -73,7 +73,7 @@ set vmname=comp-efi.ald.test %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 %vboxmanage% modifyvm %vmname% --graphicscontroller=vmsvga --accelerate3d off %vboxmanage% modifyvm %vmname% --firmware EFI %vboxmanage% modifyvm %vmname% --nic1 hostonly --nic1 hostonly --nictype1 82543GC --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" set diskpath=%~dp0/AP2301/%vmname%/%vmname%.vmdk %vboxmanage% createmedium disk --filename=%diskpath% --size 80000 --format=VMDK --variant=Standard -
dmi3mis revised this gist
Sep 3, 2025 . 1 changed file with 22 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,8 +10,8 @@ set vboxmanage="c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" %vboxmanage% hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #2" --ip 10.11.0.254 --netmask 255.255.255.0 %vboxmanage% list hostonlyifs REM %vboxmanage% import AP2301-gate_ALSE176_ALDPro24.ova --vsys 0 --vmname gate.ald.test --cpus 2 --memory 1024 --group "/AP2301" %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 --accelerate3d off %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc01.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc02.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc03.ald.test @@ -25,17 +25,23 @@ set vboxmanage="c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname repo.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname os.ald.test REM RDP to physical host will crash/abort just one of multiple VM's REM https://forums.virtualbox.org/viewtopic.php?t=110659 REM I've tried the following: REM * Disable audio on the RDP connection (remote audio set to "Do not play"). Issue/crash no longer occurs. REM * Changed the VM audio control from "Intel HD Audio" to "ICH AC97". Issue/crash no longer occurs. %vboxmanage% modifyvm dc01.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm dc02.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm dc03.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm client1.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm dhcp.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm ps.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm monitor.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm log.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm fs.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm client2.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm os.ald.test --audiocontroller ac97 --accelerate3d off --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% import ws1.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname ws1.msad.test %vboxmanage% modifyvm ws1.msad.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" @@ -50,7 +56,7 @@ set vmname=comp-bios.ald.test %vboxmanage% createvm --ostype=Debian10_64 --name %vmname% --groups="/AP2301" --register %vboxmanage% modifyvm %vmname% --ioapic on %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 %vboxmanage% modifyvm %vmname% --graphicscontroller=vmsvga --accelerate3d off %vboxmanage% modifyvm %vmname% --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" set diskpath=%~dp0/AP2301/%vmname%/%vmname%.vmdk @@ -65,7 +71,7 @@ set vmname=comp-efi.ald.test %vboxmanage% createvm --ostype=Debian10_64 --name %vmname% --groups="/AP2301" --register %vboxmanage% modifyvm %vmname% --ioapic on %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 %vboxmanage% modifyvm %vmname% --graphicscontroller=vmsvga --accelerate3d off %vboxmanage% modifyvm %vmname% --firmware EFI %vboxmanage% modifyvm %vmname% --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" @@ -75,4 +81,4 @@ set diskpath=%~dp0/AP2301/%vmname%/%vmname%.vmdk %vboxmanage% storageattach %vmname% --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium=%diskpath% %vboxmanage% storagectl %vmname% --name "IDE Controller" --add ide --controller PIIX4 %vboxmanage% storageattach %vmname% --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium=emptydrive %vboxmanage% modifyvm %vmname% --boot1 disk --boot2 dvd --boot3 none --boot4 none -
dmi3mis revised this gist
Aug 31, 2025 . 1 changed file with 18 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,7 @@ set vboxmanage="c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" %vboxmanage% list hostonlyifs %vboxmanage% import AP2301-gate_ALSE176_ALDPro24.ova --vsys 0 --vmname gate.ald.test --cpus 2 --memory 1024 --group "/AP2301" %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc01.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc02.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc03.ald.test @@ -24,13 +25,24 @@ set vboxmanage="c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname repo.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname os.ald.test %vboxmanage% modifyvm dc01.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm dc02.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm dc03.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm client1.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm dhcp.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm ps.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm monitor.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm log.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm fs.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% modifyvm client2.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm os.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% import ws1.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname ws1.msad.test %vboxmanage% modifyvm ws1.msad.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" %vboxmanage% import w10.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname w10.msad.test %vboxmanage% modifyvm w10.msad.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter" set vmname=comp-bios.ald.test @@ -41,7 +53,7 @@ set vmname=comp-bios.ald.test %vboxmanage% modifyvm %vmname% --graphicscontroller=vmsvga %vboxmanage% modifyvm %vmname% --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" set diskpath=%~dp0/AP2301/%vmname%/%vmname%.vmdk %vboxmanage% createmedium disk --filename=%diskpath% --size 80000 --format=VMDK --variant=Standard %vboxmanage% storagectl %vmname% --name "SATA Controller" --add sata --controller IntelAhci %vboxmanage% storageattach %vmname% --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium=%diskpath% @@ -57,7 +69,7 @@ set vmname=comp-efi.ald.test %vboxmanage% modifyvm %vmname% --firmware EFI %vboxmanage% modifyvm %vmname% --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" set diskpath=%~dp0/AP2301/%vmname%/%vmname%.vmdk %vboxmanage% createmedium disk --filename=%diskpath% --size 80000 --format=VMDK --variant=Standard %vboxmanage% storagectl %vmname% --name "SATA Controller" --add sata --controller IntelAhci %vboxmanage% storageattach %vmname% --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium=%diskpath% -
dmi3mis revised this gist
Aug 31, 2025 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,10 @@ set vboxmanage="c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname repo.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname os.ald.test %vboxmanage% modifyvm dc03.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm dhcp.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm client2.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% modifyvm os.ald.test --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" %vboxmanage% import ws1.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname ws1.msad.test %vboxmanage% import w10.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname w10.msad.test -
dmi3mis created this gist
Aug 31, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ REM https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboxmanage.html REM https://andreafortuna.org/2019/10/24/how-to-create-a-virtualbox-vm-from-command-line/ set vboxmanage="c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" %vboxmanage% natnetwork list|findstr /E /C:"NatNetwork" >nul & if errorlevel 1 (%vboxmanage% natnetwork add --netname NatNetwork --network 10.0.2.0/24 --enable --dhcp on ) %vboxmanage% natnetwork list %vboxmanage% list hostonlyifs |findstr /E /C:"VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter">nul & if errorlevel 1 (%vboxmanage% hostonlyif create) %vboxmanage% hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip 192.168.101.254 --netmask 255.255.255.0 %vboxmanage% list hostonlyifs |findstr /E /C:"VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2">nul & if errorlevel 1 (%vboxmanage% hostonlyif create) %vboxmanage% hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #2" --ip 10.11.0.254 --netmask 255.255.255.0 %vboxmanage% list hostonlyifs %vboxmanage% import AP2301-gate_ALSE176_ALDPro24.ova --vsys 0 --vmname gate.ald.test --cpus 2 --memory 1024 --group "/AP2301" %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc01.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc02.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 4 --memory 5120 --group "/AP2301" --vmname dc03.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname client1.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname dhcp.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname ps.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname monitor.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname log.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname fs.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname client2.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname repo.ald.test %vboxmanage% import alse-gui-1.7.6.uu2-max-virtualbox-mg15.3.1-amd64.ova --vsys 0 --cpus 1 --memory 2048 --group "/AP2301" --vmname os.ald.test %vboxmanage% import ws1.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname ws1.msad.test %vboxmanage% import w10.msad.test.ova --vsys 0 --cpus 1 --memory 4096 --group "/AP2301" --vmname w10.msad.test set vmname=comp-bios.ald.test %vboxmanage% createvm --ostype=Debian10_64 --name %vmname% --groups="/AP2301" --register %vboxmanage% modifyvm %vmname% --ioapic on %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 %vboxmanage% modifyvm %vmname% --graphicscontroller=vmsvga %vboxmanage% modifyvm %vmname% --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" set diskpath=%~dp0/%vmname%/%vmname%.vmdk %vboxmanage% createmedium disk --filename=%diskpath% --size 80000 --format=VMDK --variant=Standard %vboxmanage% storagectl %vmname% --name "SATA Controller" --add sata --controller IntelAhci %vboxmanage% storageattach %vmname% --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium=%diskpath% %vboxmanage% storagectl %vmname% --name "IDE Controller" --add ide --controller PIIX4 %vboxmanage% storageattach %vmname% --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium=emptydrive %vboxmanage% modifyvm %vmname% --boot1 disk --boot2 dvd --boot3 none --boot4 none set vmname=comp-efi.ald.test %vboxmanage% createvm --ostype=Debian10_64 --name %vmname% --groups="/AP2301" --register %vboxmanage% modifyvm %vmname% --ioapic on %vboxmanage% modifyvm %vmname% --memory 2048 --vram 64 %vboxmanage% modifyvm %vmname% --graphicscontroller=vmsvga %vboxmanage% modifyvm %vmname% --firmware EFI %vboxmanage% modifyvm %vmname% --nic1 hostonly --host-only-adapter1="VirtualBox Host-Only Ethernet Adapter #2" set diskpath=%~dp0/%vmname%/%vmname%.vmdk %vboxmanage% createmedium disk --filename=%diskpath% --size 80000 --format=VMDK --variant=Standard %vboxmanage% storagectl %vmname% --name "SATA Controller" --add sata --controller IntelAhci %vboxmanage% storageattach %vmname% --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium=%diskpath% %vboxmanage% storagectl %vmname% --name "IDE Controller" --add ide --controller PIIX4 %vboxmanage% storageattach %vmname% --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium=emptydrive %vboxmanage% modifyvm %vmname% --boot1 disk --boot2 dvd --boot3 none --boot4 none