/
usr
/
share
/
doc
/
cloud-init
/
examples
/
/usr/share/doc/cloud-init/examples
mkdir
upload
Name
Size
Mode
Actions
seed/
-
0755
rm
boothook.txt
80
0644
edit
dl
rm
cloud-config-add-apt-repos.txt
1573
0644
edit
dl
rm
cloud-config-ansible-controller.txt
7363
0644
edit
dl
rm
cloud-config-ansible-managed.txt
3823
0644
edit
dl
rm
cloud-config-ansible-pull.txt
341
0644
edit
dl
rm
cloud-config-apt.txt
12994
0644
edit
dl
rm
cloud-config-archive-launch-index.txt
802
0644
edit
dl
rm
cloud-config-archive.txt
239
0644
edit
dl
rm
cloud-config-boot-cmds.txt
406
0644
edit
dl
rm
cloud-config-ca-certs.txt
1184
0644
edit
dl
rm
cloud-config-chef-oneiric.txt
3455
0644
edit
dl
rm
cloud-config-chef.txt
4203
0644
edit
dl
rm
cloud-config-datasources.txt
2322
0644
edit
dl
rm
cloud-config-disk-setup.txt
9084
0644
edit
dl
rm
cloud-config-gluster.txt
456
0644
edit
dl
rm
cloud-config-install-packages.txt
383
0644
edit
dl
rm
cloud-config-launch-index.txt
570
0644
edit
dl
rm
cloud-config-lxd.txt
1814
0644
edit
dl
rm
cloud-config-mount-points.txt
1504
0644
edit
dl
rm
cloud-config-ntp.txt
835
0644
edit
dl
rm
cloud-config-reporting.txt
335
0644
edit
dl
rm
cloud-config-run-cmds.txt
963
0644
edit
dl
rm
cloud-config-ssh-keys.txt
2289
0644
edit
dl
rm
cloud-config-update-apt.txt
229
0644
edit
dl
rm
cloud-config-update-packages.txt
93
0644
edit
dl
rm
cloud-config-user-groups.txt
6823
0644
edit
dl
rm
cloud-config-wireguard.txt
1183
0644
edit
dl
rm
cloud-config-write-files.txt
1078
0644
edit
dl
rm
cloud-config-yum-repo.txt
897
0644
edit
dl
rm
cloud-config.txt
16559
0644
edit
dl
rm
include-once.txt
353
0644
edit
dl
rm
include.txt
434
0644
edit
dl
rm
kernel-command-line.txt
1029
0644
edit
dl
rm
network-config-v1-bonded-pair.yaml
428
0644
edit
dl
rm
network-config-v1-bonded-vlan.yaml
508
0644
edit
dl
rm
network-config-v1-bridge.yaml
638
0644
edit
dl
rm
network-config-v1-multiple-vlan.yaml
1208
0644
edit
dl
rm
network-config-v1-nameserver.yaml
403
0644
edit
dl
rm
network-config-v1-physical-3-nic.yaml
443
0644
edit
dl
rm
network-config-v1-physical-dhcp.yaml
100
0644
edit
dl
rm
network-config-v1-route.yaml
321
0644
edit
dl
rm
network-config-v1-subnet-dhcp.yaml
151
0644
edit
dl
rm
network-config-v1-subnet-multiple.yaml
364
0644
edit
dl
rm
network-config-v1-subnet-routes.yaml
527
0644
edit
dl
rm
network-config-v1-subnet-static.yaml
348
0644
edit
dl
rm
network-config-v1-vlan.yaml
253
0644
edit
dl
rm
part-handler-v2.txt
1562
0644
edit
dl
rm
part-handler.txt
2081
0644
edit
dl
rm
plain-ignored.txt
68
0644
edit
dl
rm
user-script.txt
125
0644
edit
dl
rm
Edit:
/usr/share/doc/cloud-init/examples/cloud-config-lxd.txt
(1814B)
#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: 'zfs', 'dir', 'lvm', or 'btrfs' # 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 # bridge: dict of options for the lxd bridge # mode: one of "new", "existing" or "none". Defaults to "new" # name: the name of the bridge. Defaults to "lxdbr0" # ipv4_address: an IPv4 address (e.g. 10.0.8.1) # ipv4_netmask: a CIDR mask value (e.g. 24) # ipv4_dhcp_first: the first IP of the DHCP range (e.g. 10.0.8.2) # ipv4_dhcp_last: the last IP of the DHCP range (e.g. 10.0.8.254) # ipv4_dhcp_leases: the size of the DHCP pool (e.g. 250) # ipv4_nat: either "true" or "false" # ipv6_address: an IPv6 address (e.g. fd98:9e0:3744::1) # ipv6_netmask: a CIDR mask value (e.g. 64) # ipv6_nat: either "true" or "false" # domain: domain name to use for the bridge lxd: init: network_address: 0.0.0.0 network_port: 8443 storage_backend: zfs storage_pool: datapool storage_create_loop: 10 bridge: mode: new name: lxdbr0 ipv4_address: 10.0.8.1 ipv4_netmask: 24 ipv4_dhcp_first: 10.0.8.2 ipv4_dhcp_last: 10.0.8.3 ipv4_dhcp_leases: 250 ipv4_nat: true ipv6_address: fd98:9e0:3744::1 ipv6_netmask: 64 ipv6_nat: true domain: lxd # The simplest working configuration is # lxd: # init: # storage_backend: dir
Save
cmd:
run