AD and VirtualBox

Did you try to set the MAC?

Thanks, I’ll have to test but this may work:

https://loune.net/2015/03/bridging-virtualbox-and-lxc/

I like this approach more because virtualbox uses it’s own vbox0 interface instead of a tap interface (that may be used by VPN too).

Just a small correction, AD is implemented in a systemd-nspawn container.

1 Like

Thanks, corrected it in my posts.

OK, what I did:
I included the startup commands for the vbox interface into the script of my virtualbox launch. now the interface is startet, when i start the machine. Problem solved.
Thanks alot guys!

VBoxTunctl -u root -g vboxusers -t vbox0
ifconfig vbox0 up
brctl addif br0 vbox0
sudo -H -u vmuser VBoxManage startvm 10 --type headless

3 Likes

Does virtualbox can accept some command to start a vm or you use an external script to do it?

How to implement this in the rpm, br0 could not exist if we do not use nethserver-dc (samba4)