lxc.update

Update container config.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: data

data

Type: object

LXC config update parameters.

No Additional Properties

Preferred Pool


Default pool used by containers and image datasets.

Type: string
Type: null

Bridge


Bridge that new container NICs attach to by default. null selects the automatically managed truenasbr0 bridge, which provides DHCP, DNS and NAT for containers. Changing it does not move existing NICs.

Type: string
Type: null

V4 Network

Type: string

IPv4 network CIDR for the container bridge network.

V6 Network

Type: string

IPv6 network CIDR for the container bridge network.

LXCConfigEntry

Type: object

Updated LXC configuration.

No Additional Properties

Id

Type: integer

Configuration ID.

Preferred Pool

Default: null

Default pool used by containers and image datasets.

Type: string
Type: null

Bridge

Default: null

Bridge that new container NICs attach to by default. null selects the automatically managed truenasbr0 bridge, which provides DHCP, DNS and NAT for containers. Changing it does not move existing NICs.

Type: string
Type: null

V4 Network

Type: string

IPv4 network CIDR for the container bridge network.

V6 Network

Type: string

IPv6 network CIDR for the container bridge network.



Required roles: LXC_CONFIG_WRITE