Solaris 10: uninstall and delete a zone

Contributor Icon Contributed by qmchenry Date Icon May 19, 2005  
Tag Icon Tagged: Solaris system administration

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.

Previous recipe | Next recipe |
 

 
close Reblog this comment
blog comments powered by Disqus