48 lines
No EOL
826 B
Django/Jinja
48 lines
No EOL
826 B
Django/Jinja
# --
|
|
config:
|
|
images.auto_update_interval: "15"
|
|
|
|
# --
|
|
networks:
|
|
- config:
|
|
# IPv4
|
|
ipv4.nat: "true"
|
|
ipv4.address: {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}
|
|
# IPv6
|
|
ipv6.nat: "true"
|
|
name: lxdbr0
|
|
type: bridge
|
|
project: default
|
|
|
|
# --
|
|
storage_pools:
|
|
- config:
|
|
size: 20GB
|
|
source: /var/snap/lxd/common/lxd/disks/default.img
|
|
name: default
|
|
driver: zfs
|
|
|
|
# --
|
|
profiles:
|
|
- config: {}
|
|
description: Default LXD profile
|
|
devices:
|
|
eth0:
|
|
name: eth0
|
|
network: lxdbr0
|
|
type: nic
|
|
root:
|
|
path: /
|
|
pool: default
|
|
type: disk
|
|
name: default
|
|
|
|
# --
|
|
projects:
|
|
- config:
|
|
features.images: "true"
|
|
features.networks: "true"
|
|
features.profiles: "true"
|
|
features.storage.volumes: "true"
|
|
description: Default LXD project
|
|
name: default |