mirror of
https://github.com/PegaProx/project-pegaprox.git
synced 2026-04-25 10:05:56 +03:00
[GH-ISSUE #50] [Feature Request] Display Guest Hostname and OS Pretty-Name in VM Summary (GUI) #38
Labels
No labels
Approved
Q2-3 2026 Development
bug
documentation
enhancement
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/project-pegaprox-PegaProx#38
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?
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 { }