blob: e6b7e76a5f735b5428ac0cc181f8f1d923a5937e (
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
31
32
|
#
# LXD configured with directory backend and IPv4 bridge
#
required_features:
- lxd
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
|