Open djs55 opened 10 years ago
Do we have to run the wizard again magically? Could we create an init script with all of the xe commands we need to run on first boot? Does that need a further boot?
I'm thinking of running the wizard again (in '--yes-to-all' mode) automatically from the init scripts because the wizard is like a pre-written set of xe commands that we've already debugged :-)
It's too difficult to make enough of the tools work without xen to run the wizard to completion before rebooting into xen. All it takes is for one hypercall to sneak into the startup code for a daemon and everything falls apart.
We should split the wizard actions into two phases: before and after the reboot. When '--yes-to-all' is provided we should create some kind of 'first boot' action (i.e. run the wizard again magically)