This procedure can be used to rename zones that are in either the configured state or the installed state.
Note that zones with either rootzpool or zpool resources cannot be renamed in the installed state because the zonename is part of the existing zpool name. To rename these zones, see “Renaming Zones on Shared Storage” at the end of this procedure.
You must be the global administrator in the global zone or a user with the correct rights profile to perform this procedure.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
global# zonecfg -z my-zone
zonecfg:my-zone> set zonename=newzone
zonecfg:newzone> commit
zonecfg:newzone> exit
Committed changes made through zonecfg take effect the next time the zone is booted.