Help with preseed

Hi

I get an error when applying my preseed, so there is probably something wrong there, but I just don’t see it (missing experience here). This is the preseed:

networks:
- config:
    ipv4.address: auto
    ipv4.nat: 'true'
    ipv6.address: auto
    ipv6.nat: 'true'
  description: Internal/NATted bridge
  name: internalbr0
  type: bridge
profiles:
- config:
    security:
      secureboot: 'false'
  description: Basis config
  devices:
    root:
      path: /
      pool: default
      type: disk
  name: default
- description: Internal Instances
  devices:
    eth0:
      name: eth0
      network: internalbr0
      type: nic
  name: internal
- description: Server Instances (VLAN 50)
  devices:
    eth0:
      name: eth0
      nictype: bridged
      parent: vmbr0
      type: nic
      vlan: '50'
  name: prod
- description: Test instances (VLAN 200)
  devices:
    eth0:
      name: eth0
      nictype: bridged
      parent: vmbr0
      type: nic
      vlan: '200'
  name: test
- description: Appliances (VLAN 70)
  devices:
    eth0:
      name: eth0
     nictype: bridged
      parent: vmbr0
      type: nic
      vlan: '70'
  name: appliance
storage_pools:
- config:
    source: zroot/incus
  driver: zfs
  name: default

And this is the error message:

Error: Failed to parse the preseed: type map[interface {}]interface {} is not supported in *api.ConfigMap

Anybody can tell me, what I did wrong?

Thanks.

P.S.: Think, I probably found it by replicating the config in the UI and looking at the generated yaml: the “name: eth0” entry is redundant, it seems. I will now remove that and see, if it works.

Should be:

- config:
    security.secureboot: "false"