The zonecfg command, which is described in the zonecfg(1M) man page, is used to configure a zone.
The zonecfg command can also be used to persistently specify the resource management settings for the global zone. For example, you can use the command to configure the global zone to use a dedicated CPU by using the dedicated-cpu resource.
The zonecfg command can be used in interactive mode, in command-line mode, or in command-file mode. The following operations can be performed using this command:
Create or delete (destroy) a zone configuration
Add resources to a particular configuration
Set properties for resources added to a configuration
Remove resources from a particular configuration
Query or verify a configuration
Commit to a configuration
Revert to a previous configuration
Rename a zone
Exit from a zonecfg session
The zonecfg prompt is of the following form:
When you are configuring a specific resource type, such as a file system, that resource type is also included in the prompt:
For more information, including procedures that show how to use the various zonecfg components described in this chapter, see How to Configure the lx Branded Zone.