Example of a working Vagrantfile running MacOSX on MacOS, Windows & Linux hosts
Just run a vagrant up
and you should be able to see something like:
There are no official boxes, but some home brewn ones - like: https://app.vagrantup.com/yzgyyang/boxes/macOS-10.14
Running MacOS in VirtualBox: https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/
https://wiki.archlinux.org/index.php/VirtualBox/Tips_and_tricks#Install_MacOS_guest
https://gist.github.com/WayneBuckhanan/15de1bb8b3fb3bd4f7af
You may need to run this if virtualbox is hanging at "End Random Seed":
VBoxManage modifyvm "macosx-test" --cpu-profile "Intel Core i7-6700K"
On ubuntu:
sudo apt install -y virtualbox
Make sure to run the above VBosManage command after the first vagrant up
fails.
If you want keyboard in the gui, modify the Vagrantfile to enable it, and you might need this if keyboard isn't working:
# uncomment to get keyboard
# virtualbox.customize ["modifyvm", :id, "--usb", "on"]