rc.d script for running multiple VirtualBox VMs from /etc/rc.conf

Doug Barton dougb at FreeBSD.org
Tue Apr 12 19:23:50 UTC 2011


On 4/12/2011 12:15 PM, Tobias Oberstein wrote:
> I wanted to configure multiple VirtualBox VMs to startup automatically at boot time and generally be a nice citizen to the FreeBSD way of starting up stuff.

Thanks for providing this, however there are several problems, some of 
which you outlined in your post.

The canonical way to do what you're suggesting is to copy the script so 
that you have one script per process you want to start, each with a 
different $name. That way you avoid a lot of the complexity that you've 
created, and everything works.


hth,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/



More information about the freebsd-emulation mailing list