1 2 3 4 5 6 7 8 9
#!/bin/bash set -ex vm="$1" VBoxManage setextradata "$vm" VBoxInternal/Devices/adlib/0/Trusted 1 VBoxManage setextradata "$vm" VBoxInternal/Devices/adlib/0/Config/MirrorPort "0x220" VBoxManage setextradata "$vm" VBoxInternal/Devices/mpu401/0/Trusted 1