Configuring A Whole Root Zone: Required Actions - Sun Microsystems SOLARIS 10 Manual

Container guide
Table of Contents

Advertisement

Version 3.1-en
Solaris 10 Container Guide - 3.1 5. Cookbooks

5.1.5. Configuring a whole root zone: required Actions

[dd] Whole root zones do not contain i nh e ri t- p kg -d i r
z on ecf g c r e a t e from the default file / e tc/ z on e/ S UN Wd e fa ul t .x ml . Subsequently, all
i nh eri t- pk g - d i r are removed with r em o ve
using z on ecf g
c r e a t e
/ et c/z on es / S U N W b l a n k . x m l which does not necessarily need to correspond to a whole root
zone. The following information is required to configure a whole root zone:
Determination of zone name
Determination of the root directory of the zone
Assignment of an interface
Assignment of an IP address
Following configuration, the zone must be installed and initialized prior to first use (see
installation).
global# zonecfg -z whole
whole: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:whole> create
zonecfg:whole> set zonepath=/zones/whole
zonecfg:whole> remove inherit-pkg-dir dir=/sbin
zonecfg:whole> remove inherit-pkg-dir dir=/usr
zonecfg:whole> remove inherit-pkg-dir dir=/platform
zonecfg:whole> remove inherit-pkg-dir dir=/lib
zonecfg:whole> add net
zonecfg:whole:net> set physical=bge0
zonecfg:whole:net> set address=192.168.1.1/24
zonecfg:whole:net> end
zonecfg:whole> verify
zonecfg:whole> commit
zonecfg:whole> info
zonename: whole
zonepath: /zones/whole
brand: native
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
net:
address: 192.168.1.1/24
physical: bge0
zonecfg:whole> exit
global#
- b because such a zone is created with the default from
and are generated with
i n he ri t -p kg - di r. We advise against
Effective: 30/11/2009
5.1.6 Zone
70

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SOLARIS 10 and is the answer not in the manual?

Questions and answers

Table of Contents