Telmate/proxmox-api-go

GetConfig does not return configured efidisk

riverar opened this issue · 0 comments

When retrieving the configuration of an existing VM, the configured EFI disk is not returned.

.\proxmox-api-go.exe getConfig 1000

2023/04/18 21:44:24 {
  "name": "test",
  "bios": "ovmf",
  "onboot": false,
  "tablet": true,
  "agent": 1,
  "memory": 8192,
  "balloon": 1,
  "ostype": "win11",
  "cores": 12,
  "sockets": 1,
  "cpu": "host",
  "numa": false,
  "kvm": true,
  "hotplug": "network,disk,usb",
  "iso": "cifs-win10-vcurrent:iso/Win10_22H2_English_x64.iso",
  "boot": "order=sata0;ide2;ide0",
  "scsihw": "virtio-scsi-pci",
  "disk": {
    "0": {
      "file": "iso/virtio-win-0.1.229.iso",
      "format": "iso",
      "media": "cdrom",
      "size": "522284K",
      "slot": 0,
      "storage": "local",
      "storage_type": "dir",
      "type": "ide",
      "volume": "local:iso/virtio-win-0.1.229.iso"
    },
    "2": {
      "file": "iso/Win10_22H2_English_x64.iso",
      "format": "iso",
      "media": "cdrom",
      "size": "5971862K",
      "slot": 2,
      "storage": "cifs-win10-vcurrent",
      "storage_type": "cifs",
      "type": "ide",
      "volume": "cifs-win10-vcurrent:iso/Win10_22H2_English_x64.iso"
    }
  },
  "vga": {
    "": null
  }
}