feat: Add CIUpgrade field on VirtualMachineConfig #158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR tries to add a CIUpgrade field to VirtualMachineConfig struct.
Here is the relevant API doc:
https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/config
The field can be found as "ciupgrade" and also here is an example output from Proxmox cluster.
{"boot":"order=scsi0","cipassword":"**********","ciupgrade":1,"ciuser":"ubuntu","cores":2,"digest":"b1d4d4d59a8bb982a9b173c3f5741207b0869a79","ide2":"local-lvm:vm-105-cloudinit,media=cdrom","memory":"2048","meta":"creation-qemu=8.1.5,ctime=1724765699","name":"virtualmachinetemplate-sample","nameserver":"10.0.0.1 10.0.0.2","net0":"virtio=BC:24:11:A7:27:31,bridge=vmbr0","scsi0":"local-lvm:base-105-disk-0,size=2252M","scsihw":"virtio-scsi-pci","searchdomain":"alperen.cloud","smbios1":"uuid=36e481f6-430b-4baf-b238-19dd0d891703","sockets":1,"template":1,"vmgenid":"13631d1d-eb61-45ec-a285-e63003b509eb"}