mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 09:25:53 +03:00
[PR #158] [MERGED] feat: Add CIUpgrade field on VirtualMachineConfig #184
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#184
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/luthermonson/go-proxmox/pull/158
Author: @alperencelik
Created: 9/3/2024
Status: ✅ Merged
Merged: 9/3/2024
Merged by: @luthermonson
Base:
main← Head:main📝 Commits (1)
faee06afeat: Add CIUpgrade field on VirtualMachineConfig📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
types.go(+1 -0)📄 Description
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"}🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.