Create URL to a specific VM

Feb 18, 2019
9
0
21
43
Hi!

Is there another way, except https://fulitvh.ad1.proemion.com:8006/#v1:0:=qemu%2F106:4::::::, to point to a VM?
Something like https://promox:8006/vmName would be so much easier in some cases. Or at least it would not be required to query the API to find out the ID.

Thanks in advance!
 
But VM names are not unique, so https://proxmox:8006/duplicate could point to multiple VMs.

Example with 3 VMs with the same name but different IP.

Code:
root@mynode:~# pvesh get nodes/mynode/qemu --output-format=json-pretty | grep -E "name|vmid" | grep -A1 duplicate
      "name" : "duplicate",
      "vmid" : "131"
--
      "name" : "duplicate",
      "vmid" : "129"
--
      "name" : "duplicate",
      "vmid" : "128"

While when you want to create a second VM with existing ID, you get an error
Code:
root@mynode:~# qm create 128
unable to create VM 128 - VM 128 already exists on node 'mynode'
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!