Information Technology Reference
In-Depth Information
GZ# zonecfg -z winxp-desktop1
winxp-desktop1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:winxp-desktop1> create
zonecfg:winxp-desktop1> set zonepath=/zones/winxp-desktop1
zonecfg:winxp-desktop1> add fs
zonecfg:winxp-desktop1:fs> set dir=/iso
zonecfg:winxp-desktop1:fs> set special=/iso
zonecfg:winxp-desktop1:fs> set options=[ro,nosuid,nodevices]
zonecfg:winxp-desktop1:fs> set type=lofs
zonecfg:winxp-desktop1:fs> end
zonecfg:winxp-desktop1> add device
zonecfg:winxp-desktop1:device> set match=/dev/vboxdrv
zonecfg:winxp-desktop1:device > end
zonecfg:winxp-desktop1> add net
zonecfg:winxp-desktop1:net> set physical=e1000g0
zonecfg:winxp-desktop1:net> set address=192.168.1.41/24
zonecfg:winxp-desktop1:net> end
zonecfg:winxp-desktop1 > add capped-cpus
zonecfg:winxp-desktop1:capped-cpus > set ncpus=1
zonecfg:winxp-desktop1:capped-cpus > end
zonecfg:winxp-desktop1> verify
zonecfg:winxp-desktop1> exit
Once the Container configuration is complete, install the Container with the
following command:
GZ# zoneadm -z winxp-desktop1 install
A ZFS file system has been created for this zone.
Preparing to install zone <winxp-desktop1>.
Creating list of files to copy from the global zone.
Copying <2939> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1435> packages on the zone.
Initialized <1435> packages on zone.
Zone <winxp-desktop1> is initialized.
Installation of these packages generated errors: <CSWisaexec SUNWvbox>
The file </zones/winxp-desktop1/root/var/sadm/system/logs/install_log> contains a log of
the zone installation.
To simplify the configuration of the Container, we will supply a sysidcfg file
containing the answers to all of the first boot questions. This file must be placed
in the /etc directory of the Container before it is booted for the first time. In this
 
Search WWH ::




Custom Search