How to get the full configuration to use it with lxd init --preseed

stgraber@castiana:~$ lxd init --dump
config:
  candid.api.url: https://services.stgraber.org/identity
  candid.domains: stgraber.net
  core.debug_address: 127.0.0.1:8444
  core.https_address: :8443
networks:
- config:
    ipv4.address: 10.166.11.1/24
    ipv4.nat: "true"
    ipv6.address: 2001:470:b368:4242::1/64
    ipv6.nat: "true"
  description: ""
  managed: true
  name: lxdbr0
  type: bridge
storage_pools:
- config:
    source: /var/lib/lxd/storage-pools/blah
  description: ""
  name: blah
  driver: dir
- config:
    size: 33GB
    source: castiana/lxd
    zfs.pool_name: castiana/lxd
  description: ""
  name: default
  driver: zfs
- config:
    source: /var/lib/lxd/storage-pools/dir
  description: ""
  name: dir
  driver: dir
profiles:
- config:
    user.vendor-data: |
      #cloud-config
      apt_mirror: http://us.archive.ubuntu.com/ubuntu/
  description: Default LXD profile
  devices:
    eth0:
      name: eth0
      nictype: bridged
      parent: lxdbr0
      type: nic
    root:
      path: /
      pool: default
      type: disk
  name: default
4 Likes