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
The machine API has calls to do this:
maas $PROFILE machine restore- networking- configuration $SYSTEM_ID storage- configuration $SYSTEM_ID default- configuration $SYSTEM_ID
maas $PROFILE machine restore-
# Restores both network and storage configuration with one call
maas $PROFILE machine restore-