Comment 7 for bug 1307614

Revision history for this message
Gavin Panella (allenap) wrote :

Something we want to add to MAAS is the idea of recommissioning, i.e. when a node is released back to MAAS, it runs a cycle that does a bunch of things to get the machine ready to go out the door again. For example, reset BIOS settings, erase disks. Like commissioning, a MAAS admin would be able to configure their own scripts to run.

With the existing commissioning stage and a new commissioning stage, we'd have an opportunity to run a site-specific "find me the disk on which to put the OS" script. This could set a pre-agreed disk label, e.g. "OS" or "ROOT", that curtin could be modified to take notice of.

More flexible than that is for curtin to grow the capability to run a site-specific "fine me the disk" script directly, but that would entail more work in MAAS to support it.