|
|
@@ -9,34 +9,34 @@ lxd_config: |
|
|
|
|
|
|
|
# Storage pools |
|
|
|
storage_pools: |
|
|
|
- name: data |
|
|
|
driver: zfs |
|
|
|
- name: default |
|
|
|
description: default storage pool |
|
|
|
driver: btrfs |
|
|
|
config: |
|
|
|
source: my-zfs-pool/my-zfs-dataset |
|
|
|
source: /lxd |
|
|
|
|
|
|
|
# Network devices |
|
|
|
networks: |
|
|
|
- name: lxd-my-bridge |
|
|
|
- name: lxdbr0 |
|
|
|
description: default lxd bridge |
|
|
|
type: bridge |
|
|
|
config: |
|
|
|
ipv4.address: auto |
|
|
|
ipv6.address: none |
|
|
|
ipv6.address: "{{lxd_ipv6_address|default('auto')}}" |
|
|
|
ipv6.nat: "{{ lxd_ipv6_nat }}" |
|
|
|
|
|
|
|
# Profiles |
|
|
|
profiles: |
|
|
|
- name: default |
|
|
|
devices: |
|
|
|
root: |
|
|
|
path: / |
|
|
|
pool: data |
|
|
|
type: disk |
|
|
|
- name: test-profile |
|
|
|
description: "Test profile" |
|
|
|
description: default profile |
|
|
|
config: |
|
|
|
limits.memory: 2GB |
|
|
|
devices: |
|
|
|
test0: |
|
|
|
name: test0 |
|
|
|
nictype: bridged |
|
|
|
parent: lxd-my-bridge |
|
|
|
eth0: |
|
|
|
name: eth0 |
|
|
|
network: lxdbr0 |
|
|
|
type: nic |
|
|
|
root: |
|
|
|
path: / |
|
|
|
pool: default |
|
|
|
type: disk |