Wednesday, December 16, 2009

Set up a Solaris 8 zone

Here’s how you do it:
solaris# zonecfg -z solaris8
solaris8: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:solaris8-system> create -t SUNWsolaris8
zonecfg:solaris8> set zonepath=/export/solaris8
zonecfg:solaris8> add net
zonecfg:solaris8:net> set address=172.21.7.155/24
zonecfg:solaris8:net> set physical=ce0
zonecfg:solaris8:net> end
zonecfg:solaris8> commit
zonecfg:solaris8> exit
Naturally, your IP and network device name will be different. As of now, our zone is fully configured, but not yet installed.

1 comment: