1. create webzone-1
root@global:~# zonecfg -z webzone-1 "create ; set zonepath=/zones/webzone-1"
2. install webzone-1
root@global:~# zoneadm -z webzone-1 install
3. login and configure webzone-1
root@global:~# zoneadm -z webzone-1 boot; zlogin -C webzone-1
4. create template-profile in webzone-1
root@global:~# zlogin webzone-1
root@webzone-1:~# sysconfig create-profile -o /root/webzone-2-template.xml
5. shutdown webzone-1
root@global:~# zoneadm -z webzone-1 shutdown
6. export webzone-1 to profile
root@global:~# zonecfg -z webzone-1 export -f /zones/webzone-2-profile
7. edit the zonepath in profile
root@global:~# cat /zones/webzone-2-profile
create -b
set zonepath=/zones/webzone-2
set brand=solaris
set autoboot=true
set ip-type=exclusive
add anet
set linkname=net0
set lower-link=auto
set configure-allowed-address=false
set link-protection=mac-nospoof
set mac-address=random
set auto-mac-address=2:8:20:f1:e4:b7
end
8. copy xml sysconfig file from webzone-1 to /zones
root@global:~# cp /zones/webzone-1/root/root/webzone-2-template.xml /zones
9. create webzone-2
root@global:~# zonecfg -z webzone-2 -f /zones/webzone-2-profile
10. clone webzone-2 from webzone-1
root@global:/zones# time zoneadm -z webzone-2 clone -c /zones/webzone-2-template.xml webzone-1
11. login to webzone-2
root@global:~# zoneadm -z webzone-2 boot; zlogin -C webzone-2