blob: 568bb7004d65a3d45ce153c07145ae5b046eebe1 (
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
29
30
|
#
# LXD configured with directory backend and IPv4 bridge
#
cloud_config: |
#cloud-config
lxd:
init:
storage_backend: dir
bridge:
mode: new
name: lxdbr0
ipv4_address: 10.100.100.1
ipv4_netmask: 24
ipv4_dhcp_first: 10.100.100.100
ipv4_dhcp_last: 10.100.100.200
ipv4_nat: true
domain: lxd
collect_scripts:
lxc: |
#!/bin/bash
which lxc
lxd: |
#!/bin/bash
which lxd
lxc-bridge: |
#!/bin/bash
ip addr show lxdbr0
cat /etc/default/lxd-bridge 2>/dev/null | grep -v ^# | sort -u
# vi: ts=4 expandtab
|