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

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Lee,

IIRC, we agreed to use restore for both and the restore for storage
wouldn't set the default layout but rather get it to original?

On Wednesday, May 4, 2016, Lee Trager <email address hidden> 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.
> --
> https://code.launchpad.net/~ltrager/maas/reset_node/+merge/293222
> You are reviewing the proposed merge of lp:~ltrager/maas/reset_node into
> lp:maas.
>

--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer

« Back to merge proposal