Supply incus application config with Operations Center without clustering?

Hi
I’m testing the operations center and it seems is not possible to supply application specific configuration (e.g. incus) through the pre-seed.yaml (token seed). The documentation describes it as possible: Deploy IncusOS Cluster - Operations Center documentation .

However, when trying to get the image with:

operations-center provisioning token get-image f81bb458-0e52-4c79-b534-bc9883b0b2d4 ~/Downloads/IncusOS.iso pre-seed.yaml --architecture x86_64 --type iso

I get the following error:

Error: Failed to decode YAML: yaml: construct errors: line 15: field incus not found in type api.TokenSeedConfigs

Supplying the settings (e.g. trusted certificates) when clustering through the application-config.yaml works as outlined in Deploy IncusOS Cluster - Operations Center documentation .

Is there a way to pre-seed the images with application settings through the operations center without having to cluster?

We want to deploy a bunch of servers through the operations center but without clustering them.

I also tried creating a seed through the operations center webui, but also did not see an option to specify application config.

Can someone point me in the right direction?

Thanks!

If you show your actual YAML config file (exactly as is but with any passwords or domain names obsured), then it should be possible to determine what you’ve done wrong: the error message points to the exact line. It seems you have a key called “incus:” which does not belong there. Possibly you have an indentation error.

Paste the config here between two lines of three backticks (```) so that it formats exactly right.

Hi

I tried a couple of different variations to test, but using the example from the documentation 1:1 already fails:

network:
  version: "1"
  interfaces:
    - name: enp5s0
      hwaddr: enp5s0
      required_for_online: both
      addresses:
      - dhcp4
      - dhcp6
      - slaac
incus:
  version: "1"
  preseed:
    config:
      core.https_address: ":8443"

Error:

Error: Failed to decode YAML: yaml: construct errors: line 11: field incus not found in type api.TokenSeedConfig

As soon as I remove the incus block, generating the image works.

@breml