[00:00]  * ion imagined the Fast Show “this week, I ’ave been mostly eating...” character saying that.
[00:00] <wasabi__> So I wonder if it makes sense to make instance jobs for starting virtual machines, and one job that starts instance jobs
[00:01] <Keybuk> ion: that's the exact way you should have imageined it ;)
[16:16] <wasabi__> So... advice. I think I know how I'll proceed on this, but I want input none the less. Writing a init set for VirtualBox. Basically, system has a set of VMs which are configured to be managed by init script set. User of the system can add new Vms to the set and stuff. He has to be able to control individual VMs with upstart. Because that rocks.
[16:16] <wasabi__> Two ways I can come up with; one, make a instance job, with variables for selecting the VM.
[16:16] <wasabi__> That's interesting. It has the downside that I need another job to start the instance jobs.
[16:16] <wasabi__> Which might be okay!
[16:17] <wasabi__> It also has the benefit that the user can start any VM by just starting an instance ad hoc
[16:17] <wasabi__> Second, let the user add .conf files underneath /etc/init/virtualbox/
[16:18] <wasabi__> That has the downside that the user has to write said files, or some utility does. It has the upside that the VMs are documented within the init system.
[16:18] <wasabi__> For the instance thing I'd have a file /etc/virtualbox-start.conf or somethign which simply listed the instances to run at boot.
[16:19] <wasabi__> Which the master task job would bring up
[18:39] <ion> naurun
[21:14] <wasabi> Hmm. So I have pre-stop successfully terminating the process. But after it terminates it, upstart respawns it. Heh.
[21:15] <wasabi> normal exit. aha.
[21:16] <wasabi> nope.