summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-lxd.txt
blob: b9bb4aa51e46e1d5ca4189dbf3ec0c1273f5ee86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#cloud-config

# configure lxd
# default: none
# all options default to none if not specified
# lxd: config sections for lxd
#   init: dict of options for lxd init, see 'man lxd'
#     network_address: address for lxd to listen on
#     network_port: port for lxd to listen on
#     storage_backend: either 'zfs' or 'dir'
#     storage_create_device: device based storage using specified device
#     storage_create_loop: set up loop based storage with size in GB
#     storage_pool: name of storage pool to use or create
#     trust_password: password required to add new clients

lxd:
  init:
    network_address: 0.0.0.0
    network_port: 8443
    storage_backend: zfs
    storage_pool: datapool
    storage_create_loop: 10


# The simplist working configuration is
# lxd:
#  init:
#   storage_backend: dir