![]() Now reboot your Mac to test if this config worked! On boot, Mac will look at all launch daemons in /Users/mattias/Library/LaunchAgents/ and execute them. To test that the config works, try to launch it manually first: $ launchctl load /Users/mattias/Library/LaunchAgents/istĪs a result, the VM should be now booted in headless mode. To find your VM name, run this command in the terminal: $ VBoxManage list vms ![]() It should be changed in the filename & twice in the XML. ![]() In other words: copy/paste your VM’s name in there. That name is also present in the array of ProgramArguments and in the string-value of the Label key, as the name of the VM to start. Choose the RAM size for your new virtual machine. Label -1804-pihole ProgramArguments /Applications/VirtualBox.app/Contents/MacOS/VBoxManage startvm ubuntu-1804-pihole -type headless RunAtLoad Ī few things are important here: the filename contains the string “ ubuntu-1804-pihole”. For example, type the Name field as OSX, OS type as Mac OSX, and input the version as 32-bit Mac OS X and press the Next icon. $ cat /Users/mattias/Library/LaunchAgents/ist
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |