Usage of 'lxd init --preseed'?

@MikeBergmann even i’m facing the similar issue,could you pls share complete working preceed file …

i’ve tried below which you posted above…dint get that working…sorry but am new to this, your help will be appreciated.

should i have to created storage pool manually?

cat <<EOF | lxd init --preseed

pools:

  • name: default
    driver: dir
    config:
    source: “”
    networks:
  • name: lxdbr0
    type: bridge
    config:
    ipv4.address: auto
    ipv6.address: auto
    profiles:
  • name: default
    devices:
    root:
    path: /
    pool: default
    type: disk
    eth0:
    nictype: bridged
    parent: lxdbr0
    type: nic
    EOF