diff --git a/internal/server/instance/drivers/driver_lxc.go b/internal/server/instance/drivers/driver_lxc.go index e800dda3d22..2e52521db3e 100644 --- a/internal/server/instance/drivers/driver_lxc.go +++ b/internal/server/instance/drivers/driver_lxc.go @@ -5280,6 +5280,9 @@ func (d *lxc) Export(w io.Writer, properties map[string]string, expiration time. return meta, err } + // Fill in the metadata. + meta.Architecture = arch + meta.CreationDate = time.Now().UTC().Unix() if !expiration.IsZero() { meta.ExpiryDate = expiration.UTC().Unix() } diff --git a/internal/server/instance/drivers/driver_qemu.go b/internal/server/instance/drivers/driver_qemu.go index 38596ecbd6b..4b8fb161bf6 100644 --- a/internal/server/instance/drivers/driver_qemu.go +++ b/internal/server/instance/drivers/driver_qemu.go @@ -6469,6 +6469,9 @@ func (d *qemu) Export(w io.Writer, properties map[string]string, expiration time return meta, err } + // Fill in the metadata. + meta.Architecture = arch + meta.CreationDate = time.Now().UTC().Unix() if !expiration.IsZero() { meta.ExpiryDate = expiration.UTC().Unix() }