How to Configure the lx Branded Zone

You use the zonecfg command described in the zonecfg(1M) man page to perform
the following actions.

Create the zone configuration

Verify that all required information is present

Commit the non-global zone configuration

Tip - If you know you will be using CDs or DVDs to install
applications in an lx branded zone, use addfs to add read-only access to
CD or DVD media in the global zone when you initially configure the
branded zone. A CD or DVD can then be used to install
a product in the branded zone.

Tip - After you have configured the branded zone, it is a good idea
to make a copy of the zone's configuration. You can use this backup
to restore the zone in the future. As superuser or Primary Administrator, print
the configuration for the zone lx-zone to a file. This example uses a
file named lx-zone.config.

If this is the first time you have configured this zone, you
will see the following system message:

lx-zone: No such zone configured
Use 'create' to begin configuring a new zone.

Create the new lx zone configuration by using the SUNWlx template.

zonecfg:lx-zone> create -t SUNWlx

Alternatively, you can create a blank zone and explicitly set the brand:

zonecfg:lx-zone> create -b
zonecfg:lx-zone> set brand=lx

Set the zone path, /export/home/lx-zone in this procedure.

zonecfg:lx-zone> set zonepath=/export/home/lx-zone

Set the autoboot value.

If set to true, the zone is automatically booted when the global
zone is booted. Note that for the zones to autoboot, the zones service
svc:/system/zones:default must also be enabled. The default value is false.

zonecfg:lx-zone> set autoboot=true

Set persistent boot arguments for a zone.

zonecfg:lx-zone> set bootargs="-i=altinit"

If resource pools are enabled on your system, associate a pool with the
zone.