How to destroy a sandbox without prompts¶
Use --yes with whzbox destroy to skip the confirmation prompt.
Prerequisites¶
- An active Whizlabs session or an interactive terminal for re-login
Steps¶
1. Destroy the sandbox¶
2. Confirm that the cache is empty¶
Verification¶
After a successful destroy, whzbox list prints:
Troubleshooting¶
Problem: destroy still failed¶
If there is no active sandbox upstream, destroy returns a provider error.
Problem: destroy asked for credentials¶
destroy needs a valid session. If the cached session is expired and cannot be refreshed, log in again: