The instance configuration consists of different categories:
- Instance properties
Instance properties are set when the instance is created. They include, for example, the instance name and architecture. These properties are specified during instance creation. Some of the properties are read-only and cannot be changed after creation, while others can be updated when editing the full instance configuration.
In the YAML configuration, properties are on the top level.
See Instance properties for a reference of available instance properties.
- Instance options
Instance options are configuration options that are related directly to the instance. They include, for example, startup options, security settings, hardware limits, kernel modules, snapshots and user keys. These options can be specified as key/value pairs during instance creation (through the
--config key=valueflag). After creation, they can be configured with the
lxc config setand
lxc config unsetcommands.
In the YAML configuration, options are located under the
See Instance options for a reference of available instance options.