Optimal way of renaming VMID consecutively

billybob

New Member
May 3, 2022
8
1
3
Over the years, my VM & Containers ID have been become non-consecutive (ie: VMID are 100, 105, 115, 117, etc.). I would like to ideally run a script that would take each of the VM/CT and rename them consecutively. Of course, manual way would be to clone and redeploy each VM/CT but that's cumbersome. Surely there's gotta to be a better way to renumbering the VMIDs. So the question is, is there a good way of renumbering the VM/CT?

Thanks!
 

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!