Code review comment for lp:~ltrager/maas/reset_node

Revision history for this message
Lee Trager (ltrager) wrote :

We have set_storage_config which can be used to set the storage layout. If you don't know what storage layout you have set you'd have todo

maas <profile> machine set-storage-layout <system_id> storage_layout=$(maas <profile> maas get-config name=default_storage_layout)

I could add some code so that setting storage_layout=default would automatically look up what the default is or restore_storage_configuration as you suggested.

« Back to merge proposal