File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# vi: set ft=yaml:
22
33incus :
4+ config : # optional, host config values to apply
5+ core.metrics_address : " :8444"
6+ core.metrics_authentication : False
47 images : # optional, images to predownload on server, no images are preloaded by default
58 ubuntu/jammy/amd64 : # alias
69 source : images:ubuntu/jammy/amd64
Original file line number Diff line number Diff line change @@ -34,6 +34,15 @@ incus_image_pillar_{{ loop.index }}:
3434 {%- endfor %}
3535 {%- endif %}
3636
37+ {%- if " config" in pillar[" incus" ] %}
38+ {%- for config_key, config_val in pillar[" incus" ][" config" ].items() %}
39+ incus_host_config_set_{{ loop.index }} :
40+ cmd.run :
41+ - name: incus config set {{ config_key }}={{ config_val }}
42+
43+ {%- endfor %}
44+ {%- endif %}
45+
3746incus_profile_create_autostart:
3847 cmd.run :
3948 - name: incus profile list | grep -q -e "| autostart *|" || incus profile create autostart
You can’t perform that action at this time.
0 commit comments