Hi Bernhard,

> > 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.
> >
> > Using that rc.d script (see attached) you can configure starting up
> > multiple VirtualBox VMs from /etc/rc.conf:
> 
> Sorry it's probably my fault because you're the 3rd one who has written such
> a script but we already have one for 4.0.

Ah, ok;)

> 
> http://svn.bluelife.at/index.cgi/blueports/view/emulators/virtualbox-ose-
> devel/files/vboxheadless.in
> 
> It is a bit less complicated and can also manage multiple VMs but it does not
> have separated flags per VM.

Mine is more complicated, yes .. but it's more or less a direct adaption of the 
script for apache22.

Also, I definitely need flags per VM, since we run each VM

i) under a dedicated user
ii) on a separate ZFS filesystem
iii) with specific VNC port/password

i+iii requires flags per VM.

iii) is for obvious reasons .. need to connect to each VM on a distinct port.

i) is for a) security and b) management of VMs by different "VM admins" which 
don't have to be root or have a user which would manage all VMs.

==

I there interest to consolidate our scripts?

Tobias

> 
> # vboxheadless_enable (bool):   Set to "NO" by default.
> #                               Set it to "YES" to enable vboxheadless.
> # vboxheadless_user (str):      User account to run with
> # vboxheadless_list (str):      Space Separated VBox Hostnames
> # vboxheadless_flags (str):     Custom flags for VBoxHeadless
> 
> --
> Bernhard Fröhlich
> http://www.bluelife.at/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to