Version 3.1-en
Solaris 10 Container Guide - 3.1 5. Cookbooks
5. Cookbooks
The Cookbooks chapter demonstrates the implementation of conceptional Best Practices with
concrete examples.
5.1. Installation and configuration
5.1.1. Configuration files
[dd] File: /e tc / z o n e s / i n d e x
Lists all configured zones of a system, incl. zone status and root directory.
# DO NOT EDIT: this file is automatically generated by zoneadm(1M)
# and zonecfg(1M).
#
global:installed:/
sparse:installed:/zones/sparse:ae343d81-3439-cd4d-ff52-f110feeff8d2
whole:configured:/zones/whole
File: /e tc/ zo n e s / < z o n e n a m e > . x m l
Contains the configuration of a zone <zonename> and can also be used as a template (z o ne ad m :
c re ate - t < z o n e > )
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE
zone
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
DO NOT EDIT THIS FILE.
-->
<zone
name="sparse"
pool="sparse">
<inherited-pkg-dir directory="/lib"/>
<inherited-pkg-dir directory="/platform"/>
<inherited-pkg-dir directory="/sbin"/>
<inherited-pkg-dir directory="/usr"/>
<inherited-pkg-dir directory="/opt"/>
<network address="192.168.1.20" physical="bge0"/>
</zone>
File: /e tc/ zo n e s / S U N W b l a n k . x m l
Determines the standard guideline by which blank zones (command z o n e a dm c r e at e - b ) are
created.
<!DOCTYPE
zone
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<zone name="blank" zonepath="" autoboot="false">
</zone>
File: /e tc/ zo n e s / S U N W d e f a u l t . x m l
Determines the standard guideline by which default zones (sparse root) are created (do not change).
<!DOCTYPE
zone
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<zone name="default" zonepath="" autoboot="false">
<inherited-pkg-dir directory="/lib"/>
<inherited-pkg-dir directory="/platform"/>
<inherited-pkg-dir directory="/sbin"/>
<inherited-pkg-dir directory="/usr"/>
</zone>
File: /v ar/ sa d m / i n s t a l l / g z - o n l y - p ac ka g es
Lists all packages that were installed in the global zone with p kg a d d -G and are not used for the
creation of local zones. This file should not be modified manually.
Any manual changes will be lost.
PUBLIC
"-//Sun
Use zonecfg(1M) instead.
zonepath="/zones/sparse"
PUBLIC
"-//Sun
PUBLIC
"-//Sun
Microsystems
Inc//DTD
Microsystems
Inc//DTD
Microsystems
Inc//DTD
Effective: 30/11/2009
Zones//EN"
autoboot="false"
Zones//EN"
Zones//EN"
65
Need help?
Do you have a question about the SOLARIS 10 and is the answer not in the manual?