
Version | Effective: 30/11/2009 |
5.1.6. Zone installation
[dd]Before using a zone for the first time it must be installed according to your configuration. The installation time varies depending on whether a
global# zoneadm
Creating list of files to copy from the global zone. Copying <2373> files to the zone.
Initializing zone product registry. Determining zone package initialization order. Preparing to initialize <985> packages on the zone. Initialized <985> packages on zone.
Zone <zone1> is initialized.
Installation of these packages generated warnings: <SUNWxwfnt SUNWxwcft SUNWolrte SUNWpprou SUNWjxmft SUNWi1of SUNWjxcft SUNWxwoft> The file </zones/zone1/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
global#
After the zone is installed, a zlogin
5.1.7. Zone initialization with sysidcfg
[dd]A zone can also be initialized through the file sysidcfg(4). This file can be created separately and contains the appropriate parameters. An OS instance starting up for the first time uses the sysidcfg file, when located in /etc.
So for zones, it works in the following way:
1.Configure the zone (zonecfg)
2.Install the zone (zoneadm)
3.Create the sysidcfg file and copy it into the /etc of the zone (this is located in the global zone under < zonepath>/root/etc )
4.Boot the zone
The following example shows one possible sysidcfg(4) file.
global # cat /zones/zone1/root/etc/sysidcfg root_password=xyz12321zyx name_service=none
system_locale=C terminal=vt100 timezone=CET timeserver=localhost
network_interface=PRIMARY {hostname=zone1} security_policy=limited nfs4_domain=dynamic
71