[GH-ISSUE #378] Re-implement: Qemu EFI disk #94

Open
opened 2026-02-28 00:40:33 +03:00 by kerem · 0 comments
Owner

Originally created by @Tinyblargon on GitHub (Nov 24, 2024).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/378

EFI should use the following struct. When the value is nil we wont change the value in PVE, this means that for updates we need to know the current settings.

type QemuEfiDisk struct {
	Delete        bool            `json:"delete,omitempty"`
	Storage       *string         `json:"storage,omitempty"`         // required during creation
	Format        *QemuDiskFormat `json:"format,omitempty"`          // required during creation
	PreEnrollKeys *bool           `json:"pre_enroll_keys,omitempty"` // changing recreates the disk
}
Originally created by @Tinyblargon on GitHub (Nov 24, 2024). Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/378 EFI should use the following struct. When the value is `nil` we wont change the value in PVE, this means that for updates we need to know the current settings. ```go type QemuEfiDisk struct { Delete bool `json:"delete,omitempty"` Storage *string `json:"storage,omitempty"` // required during creation Format *QemuDiskFormat `json:"format,omitempty"` // required during creation PreEnrollKeys *bool `json:"pre_enroll_keys,omitempty"` // changing recreates the disk } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#94
No description provided.