The procedure described in this section completely deletes a zone from a system.
How to Remove a Non-Global Zone
1) Shut down the zone agni using one of the following methods. The zoneadm shutdown method is preferred.
global# zoneadm -z agni shutdown
agni
Using zlogin:
global# zlogin agni shutdown
agni
2) Remove the root file system for agni.
global# zoneadm -z agni uninstall -F
The -F option to force the action
3) Delete the configuration for agni.
global# zonecfg -z agni delete -F
The -F option to force the action
4) List the zones on the system, to verify that my-zone is no longer listed.
global# zoneadm list -iv
You will see a display that is similar to the following:
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
Regards
Gurudatta N.R
No comments:
Post a Comment