xenserver / xenserver-install-wizard

Post-install tools for setting up a xenserver system.
8 stars 10 forks source link

Split into 2 phases: before and after rebooting with xen #64

Open djs55 opened 10 years ago

djs55 commented 10 years ago

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)

BobBall commented 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?

djs55 commented 10 years ago

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 :-)