You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read the settings of an instance from its status #127
phorge-fr/Hangar#434 (PR phorge-fr/Hangar#454) lets a profile carry secure boot, nesting and SSH keys, so the Instance kind no longer defaults nesting, secureBoot and sshPublicKeys in its XRD: an absent field means the instance did not say and the profile (or Incus's default) applies. The API reads spec.nesting, spec.secureBoot and spec.sshPublicKeys and relies on the XRD defaults, so after that change an instance created through the API without secureBoot would be shown with secureBoot: false while the VM has secure boot on.
Scope
Read the settings in force from status.nesting, status.secureBoot and status.sshPublicKeys of the Instance, falling back to spec and then to the defaults (nesting off, secure boot on, no key) while the status is not there yet, so the API keeps working on both sides of the Hangar change.
Tests with both shapes of object (stored defaults, and absent fields with the status).
Documentation.
Must be released and deployed before phorge-fr/Hangar#454 is merged. Part of the profile settings chain, ahead of #116.
Done when
An instance read through the API shows the settings the VM really has, before and after phorge-fr/Hangar#454.
Activity
l-nmch commentedon Nov 11, 2026
/time 2h read the settings of an instance from its status, release 0.13.1