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
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.