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