Change "Created by" and "date" information
-
This is NOT a critical issue at all... just a "nice to know". I also promise that I tried to use my "Google-fu" to find the answer to this before posting, with no success.
I've noticed that on the "General" tab of each VM, under the status bar for the CPU, there is now a section for the creator of the VM, the date on which it was created, and the template used to create the VM.
Is there any way to safely change that information? For example, every VM I've created says "Created by Unknown"... but I know who actually did create the VM and would like to label it as such. Likewise with the dates.
This is more a curiosity than anything important.
Thank you so much!
-
I think we should probably remove it if we don't know, I'm not sure we could easily change it.
-
@olivierlambert Thanks so much! I figured it was either something easy I was missing, or next to impossible to do.
It was just a "nice to know" if it was possible to change that information. Since it can not be changed, please feel free to close this out.
As always, thank you for your help!
-
It appears that this information is stored in the VM's
other-config
parameter. For example, this is what I get usingxe vm-list params=uuid,name-label,other-config
--uuid ( RO) : 0c98cb17-cb9e-5795-7a7c-76da5e8ae94b name-label ( RW): Ubuntu 22.10 other-config (MRW): xo:0c98cb17: {"creation":{"date":"2023-05-14T14:49:51.584Z","template":"2cf37285-57bc-4633-a24f-0c6c825dda66","user":"2"}}; base_template_name: Ubuntu Focal Fossa 20.04; import_task: OpaqueRef:f951016b-8d53-48f8-97be-415339edab6f; mac_seed: fb865a20-ce0b-73cf-7f6c-9ac34f214d10; install-methods: cdrom,nfs,http,ftp; linux_template: true
I would think the XO interface could be updated to allow a different user to be chosen.
-
Adding @MathieuRA in the loop
-
After a discussion with the XO team, the ability to edit from the UI:
creation.user
and date, has been added to the backlog. -
@MathieuRA Thank you for the update, @MathieuRA!