On 28/05/16 12:43, Anthony K wrote:> On 17/05/16 17:55, Rob Kampen wrote: >> No idea where to from here, so if there is anyone that has a working >> systemd autostart VirtualBox setup on a headless CentOS 7 server - >> please advise what you have done to get it working. > I'm running CentOS7 as my host and when I was using Virtualbox, I had > my VM's autostarting for a while. I simply followed this answer [0] > on "askubuntu.com" and it worked flawlessly. However, I've since > migrated all my VM's to KVM once performance on KVM surpassed that of > Virtualbox (most of my VM's are Linux servers). > >thanks for the pointer which of the 9 answers did you use - there are four with [0] points. I did see this some time ago and got a variant working under CentOS 6. I was hoping to use the new-fangled systemd, partly as a learning exercise, but also to avoid having bespoke config files and methods of starting daemons proliferating which the methods described on askubuntu.com seem to be. rob> My $0.02, > ak. > > [0] > https://askubuntu.com/questions/404665/how-to-start-virtual-box-machines-automatically-when-booting/548134 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
On 28/05/16 12:12, Rob Kampen wrote:> > which of the 9 answers did you use - there are four with [0] points. I > did see this some time ago and got a variant working under CentOS 6. I > was hoping to use the new-fangled systemd, partly as a learning > exercise, but also to avoid having bespoke config files and methods of > starting daemons proliferating which the methods described on > askubuntu.com seem to be. > robApologies - I should have stated that in my initial response. It's the answer that starts of with - "You can use the VirtualBox Auto-start service." - it has an up-vote score of 20 (as of now). That article cites the following link *[0]* as the original source: *[0]* http://lifeofageekadmin.com/how-to-set-your-virtualbox-vm-to-automatically-startup/ ak.
On 28/05/16 14:31, Anthony K wrote:> On 28/05/16 12:12, Rob Kampen wrote: >> >> which of the 9 answers did you use - there are four with [0] points. >> I did see this some time ago and got a variant working under CentOS >> 6. I was hoping to use the new-fangled systemd, partly as a learning >> exercise, but also to avoid having bespoke config files and methods >> of starting daemons proliferating which the methods described on >> askubuntu.com seem to be. >> rob > > Apologies - I should have stated that in my initial response. > > It's the answer that starts of with - "You can use the VirtualBox > Auto-start service." - it has an up-vote score of 20 (as of now). > > That article cites the following link *[0]* as the original source: > > *[0]* > http://lifeofageekadmin.com/how-to-set-your-virtualbox-vm-to-automatically-startup/ >thanks, the other link helped but there are still errors in all the various instructions one error not noted was the /etc/defaults/virtualbox file it - cannot have spaces! it should be # virtualbox defaults file VBOXAUTOSTART_DB=/etc/vbox VBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg My server has a very well exercised reboot as I have finally got it done Thanks for all the pointers, finally have something that seems to be reliable.> > ak. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos