Jan 7, 2009
How to save the configuration of a zone in a file and use it to create similar zones!!!
Pleases find the below steps to save the configuration of a zone in a file and use it to create similar zones. Step 1) Become the super-user.Step 2) Print the configuration of the zone to a file.bash-3.00# zonecfg -z myzone1 export > myzone1.configStep 3)Specify that myzone.config be used as the zonecfg command file to recreate similar zones. bash-3.00# zonecfg -z myzone2 -f myzone1.configbash-3.00# zonecfg -z myzone2 infozonepath: /export/myzone1autoboot: falsepool:inherit-pkg-dir:dir: /libinherit-pkg-dir:dir: /platforminherit-pkg-dir:dir: /sbininherit-pkg-dir:dir: /usrnet:address: 129.158.233.113/24physical: bge0devicematch: /dev/lofictldevicematch: /dev/lofictl/*devicematch: /dev/lofi/1devicematch: /dev/rlofi/1Step 4)Change the zonepath to /export/myzone2 |
Post a Comment