VM conf format changes

wosp

Renowned Member
Apr 18, 2015
203
23
83
37
The Netherlands
Why is it that almost every update there are VM config format changes? And if needed, why don't automaticly change the config format for all VM's that exists already? For example:

On PVE 4.1-22 it was

virtio0: SSD-cluster:vm-103-disk-1,size=40G
net0: virtio=3A:A8:A8:DB:EC:F5,bridge=vmbr0209
ide2: none,media=cdrom

On PVE 4.2-2 it was:

virtio0: SSD-cluster:vm-103-disk-1,size=40G
net0: bridge=vmbr0209,virtio=3A:A8:A8:DB:EC:F5
ide2: none,media=cdrom

And one PVE 4.2-5 it is:

virtio0: file=SSD-cluster:vm-103-disk-1,size=40G
net0: virtio=3A:A8:A8:DB:EC:F5,bridge=vmbr0209
ide2: file=none,media=cdrom
 
First, that change is valid syntax. Second, the change was a mistake, and we already fixed it in git. So the next version will write the short form again.
 
So, next version will be:

virtio0: SSD-cluster:vm-103-disk-1,size=40G
net0: virtio=3A:A8:A8:DB:EC:F5,bridge=vmbr0209
ide2: none,media=cdrom

Like it was in 4.1-22, correct?
 

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!