feat(xo-server): add xenStoreData to XO VM objects (#7316)

The initial support added in #7055 to support terraform resource support doesn't provide read access to a VM's state.

Since Tterraform's model requires read and write access to the resource it's managing, this PR implements the missing piece for terra-farm/terraform-provider-xenorchestra#261.
This commit is contained in:
Dom Del Nano
2024-01-17 01:24:08 -08:00
committed by GitHub
parent 58769815b0
commit 71f3be288b

View File

@@ -429,6 +429,7 @@ const TRANSFORMS = {
VGPUs: link(obj, 'VGPUs'),
$VGPUs: link(obj, 'VGPUs'),
nicType: obj.platform.nic_type,
xenStoreData: obj.xenstore_data,
}
if (isHvm) {