Step1: export zone config
zonecfg -z webzone-1 export -f /zones/webzone-2-profile
Step 2: modify template
vi /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:8x:2:xx:xx:xx
end
Step 3: configure new zone
zonecfg -z webzone-2 -f /zones/webzone-2-profile
Step 4: Create a zone template
sysconfig create-profile -o /zones/webzone-2-template.xml
step5: clone the existing zone for all software configs
zoneadm -z webzone-2 clone -c /zones/webzone-2-template.xml webzone-1''
Comments
Post a Comment