AD and VirtualBox


(Markus Neuberger) #21

Did you try to set the MAC?

(Markus Neuberger) #22

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

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).

(Marc) #23

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

(Markus Neuberger) #24

Thanks, corrected it in my posts.

(Thomas M. Ball) #25

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

AD & VMware workstation
(Stéphane de Labrusse) #26

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)