Date: Sun, 4 Feb 2018 20:27:38 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-virtualization@freebsd.org Subject: Re: Xen on FreeBSD 11.1 - Auto creating VMs on boot Message-ID: <1f68b24a-8e05-3859-9427-ed784cb0d570@gjunka.com> In-Reply-To: <CAPpFka%2B-i06CxoUj_2D-TwjicxK8TFMwzrSK7ZVOrNU6RKW0_w@mail.gmail.com> References: <CAPpFka%2B-i06CxoUj_2D-TwjicxK8TFMwzrSK7ZVOrNU6RKW0_w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/02/2018 17:14, David Salvisberg wrote: > Hello, > > I recently switched from Debian as my Dom0 to FreeBSD to make use of ZFS > without having to rely on zfs-on-linux. The experience has been pretty good > so far, albeit a bit more limited compared to Debian obviously. > > One of the things I haven't been able to figure out is /etc/xen/auto or > rather /usr/local/etc/xen/auto in FreeBSDs case. It doesn't look like Xen > on FreeBSD ships with any of the configuration options for this feature, > possibly due to lack of support for save and restore. > > I don't really need save and restore but auto spawning VMs on boot would be > a nice thing to be able to do without having to write my own rc.d script or > something along those lines. > > Is there a way to make use of the auto creation feature on FreeBSD Xen or > is that feature just missing entirely due to the lack of save/restore > functionality? > > If there is no builtin way, I'd appreciate any recommendations for writing > my own scripts to make sure that they're only being run after Xen has been > fully initialized and is ready for xl create commands. > > Best Regards > > David Salvisberg > Hi David, Unfortunately I don't know the Xen part of the question, but writing your own starting script is quite easy and well documented. A quick google search returns this https://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html Good luck GregJ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1f68b24a-8e05-3859-9427-ed784cb0d570>