Solaris 10: uninstall and delete a zone
When you want to remove a non-global zone from your Solaris 10 installation, you’ll need to follow the following steps.
If you want to completely remove a zone called ‘testzone’ from your system, login to the global zone and become root. The first command is the opposite of the ‘install’ option of zoneadm and deletes all of the files under the zonepath:
zoneadm -z testzone uninstall
At this point, the zone is in the configured state. To remove it completely from the system use:
zonecfg -z testzone delete
There is no undo, so make sure this is what you want to do before you do it.






Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment