Date: Wed, 13 Apr 2011 05:28:44 -0700 From: Tobias Oberstein <tobias.oberstein@tavendo.de> To: Bernhard Froehlich <decke@bluelife.at> Cc: "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org> Subject: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf Message-ID: <634914A010D0B943A035D226786325D422B76F9354@EXVMBX020-12.exch020.serverdata.net> In-Reply-To: <41b7269d367ea0d98c3bd4071358d3ab@bluelife.at> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <41b7269d367ea0d98c3bd4071358d3ab@bluelife.at>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?634914A010D0B943A035D226786325D422B76F9354>
