This information, of course exists many other places on the web, but for me, most conveniently, here.
An example configuration session:
# zonecfg -z host1 host1: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:host1> create zonecfg:host1> set zonepath=/zones/host1 zonecfg:host1> set autoboot=true zonecfg:host1> add net zonecfg:host1:net> set address=172.16.3.242 zonecfg:host1:net> set physical=e1000g0 zonecfg:host1:net> end zonecfg:host1> verify zonecfg:host1> commit zonecfg:host1> exit # zoneadm -z host1 install Preparing to install zone <host1>. Creating list of files to copy from the global zone. Copying <2422> files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize <974> packages on the zone. Initialized <974> packages on zone. Zone <host1> is initialized. The file </zones/host1/root/var/sadm/system/logs/install_log> contains a log of the zone installation. # zoneadm -z host1 boot # zlogin -C host1 [Connected to zone 'host1' console]
From here, enter the system configuration details as prompted. Type ~. to disconnect when finished.
Post a Comment