[GH-ISSUE #50] [Feature Request] Display Guest Hostname and OS Pretty-Name in VM Summary (GUI) #38

Closed
opened 2026-03-02 15:47:25 +03:00 by kerem · 0 comments
Owner

Originally created by @anastra13 on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/PegaProx/project-pegaprox/issues/50

Originally assigned to: @MrMasterbay on GitHub.

Description:Currently, the Proxmox VE Web UI shows limited information about the guest operating system in the "Summary" tab. While this data is already available through the API via the agent/get-host-name and agent/get-osinfo endpoints, it is not visible to users in the GUI.

Proposed Change:Add two new fields in the VM "Summary" panel (preferably under the "Status" or "Guest Agent" section):

Hostname: Displaying the actual hostname reported by the QEMU Guest Agent.
OS Version: Displaying the "pretty-name" (e.g., "Ubuntu 22.04 LTS" or "Windows Server 2022").
Benefit:This would allow administrators to quickly identify VMs and their patch levels without having to open a console or run external API scripts. It improves the "at-a-glance" management of large clusters.

Exemple pwsh :
try {
$hostname = (Invoke-RestMethod -Uri "https://$server/api2/json/nodes/$node/qemu/$vmid/agent/get-host-name" -Headers $headers -Method GET -SkipCertificateCheck).data.result.'host-name' } catch { } try { $osinfo = (Invoke-RestMethod -Uri "https://$server/api2/json/nodes/$node/qemu/$vmid/agent/get-osinfo"
-Headers $headers -Method GET -SkipCertificateCheck).data.result.'pretty-name'
}
catch { }

Originally created by @anastra13 on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/PegaProx/project-pegaprox/issues/50 Originally assigned to: @MrMasterbay on GitHub. Description:Currently, the Proxmox VE Web UI shows limited information about the guest operating system in the "Summary" tab. While this data is already available through the API via the agent/get-host-name and agent/get-osinfo endpoints, it is not visible to users in the GUI. Proposed Change:Add two new fields in the VM "Summary" panel (preferably under the "Status" or "Guest Agent" section): Hostname: Displaying the actual hostname reported by the QEMU Guest Agent. OS Version: Displaying the "pretty-name" (e.g., "Ubuntu 22.04 LTS" or "Windows Server 2022"). Benefit:This would allow administrators to quickly identify VMs and their patch levels without having to open a console or run external API scripts. It improves the "at-a-glance" management of large clusters. Exemple pwsh : try { $hostname = (Invoke-RestMethod -Uri "https://$server/api2/json/nodes/$node/qemu/$vmid/agent/get-host-name" ` -Headers $headers -Method GET -SkipCertificateCheck).data.result.'host-name' } catch { } try { $osinfo = (Invoke-RestMethod -Uri "https://$server/api2/json/nodes/$node/qemu/$vmid/agent/get-osinfo" ` -Headers $headers -Method GET -SkipCertificateCheck).data.result.'pretty-name' } catch { }
kerem 2026-03-02 15:47:25 +03:00
  • closed this issue
  • added the
    Approved
    label
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/project-pegaprox-PegaProx#38
No description provided.