What do you mean exactly? Something like a wizard that get the list of VM from VBoxManage and create the corresponding instances in SMF?
On Wed, Sep 2, 2009 at 11:11 AM, Renaud Manus <Renaud.Manus at sun.com> wrote: > It looks much better now. > > Now, you just need a wrapper script around VBoxManage to create the VMs > and the associated instances in SMF :-) > > Thanks > -- Renaud > > Alexandre Dumont a ?crit : > >> Hi, >> >> I've finally been able to work out an updated version of the >> manifest/method for my Virtualbox SMF service. This new version includes the >> corrections you suggested earlier in this thread, and others: >> >> - Handling multiple VMs: changed from contract model to transient because >> of how Virtualbox starts the VMs, >> - Service dependencies: new dependency on milestone/multi-user-server >> - Property value checking (in the method though, because I'm not familiar >> with Template Extensions and Value Constraints) >> - VM State checking before starting/stopping >> >> You can read more and download the files at >> http://adumont.serveblog.net/2009/09/01/virtualbox-smf-2/. >> >> Hope you find it useful, >> Regards, >> Alex >> >> On Wed, Jul 22, 2009 at 11:46 AM, Renaud Manus <Renaud.Manus at >> sun.com<mailto: >> Renaud.Manus at sun.com>> wrote: >> >> This is very good. >> >> A few comments : >> - The dependency on filesystem/local may not be sufficient if the >> VM's data are on a NFS filesytem for example. You might want to >> mimic what is done for Zones and add a dependency on >> milestone/multi-user-server >> >> - You don't check for the validity of the vm/stop_method property. >> You could either do it within the method or use the Value Constraints >> from the new feature recently introduced : Template Extensions[1] >> >> Regards, >> -- Renaud >> >> [1] http://opensolaris.org/os/project/vpanels/templates/ >> >> Alexandre Dumont wrote: >> >> Hi, >> >> I've written a manifest and method to start Virtualbox headless >> VMs at boot time. Both are explained in details at >> http://adumont.serveblog.net/2009/07/21/virtualbox-smf/. Feel >> free to comment me any further enhancement you may think of. >> Hope you find it useful. >> >> I'll be glad to have you publish it to "Converted services: >> manifests and methods" >> (http://www.opensolaris.org/os/community/smf/manifests/), should >> you think it deserves it of course. >> >> Best regards, >> Alex >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> smf-discuss mailing list >> smf-discuss at opensolaris.org <mailto:smf-discuss at opensolaris.org> >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20090902/d1522fd7/attachment.html>