Comment 1 for bug 1813019

Revision history for this message
Lee Trager (ltrager) wrote : Re: clearing storage and network config requires many slow api calls

The machine API has calls to do this:

maas $PROFILE machine restore-networking-configuration $SYSTEM_ID
maas $PROFILE machine restore-storage-configuration $SYSTEM_ID
# Restores both network and storage configuration with one call
maas $PROFILE machine restore-default-configuration $SYSTEM_ID