Proxmox 5.2 vm-100-disk-0.raw

tincboy

Renowned Member
Apr 13, 2010
466
3
83
Recently I can see in latest Proxmox version, it's making disk files from 0 index while previously it was from 1,
Is there any way to ask it for creating disks from number 1?
The command which I'm using for creating new VMs via SSH is:

/usr/sbin/qm create 100 --name s100 --net0 e1000,bridge=vmbr0 --bootdisk sata0 --ostype other --sata0 local:50,format=raw --ide2 none,media=cdrom --memory 1024 --onboot no --cores 1 --agent 1
 
Because of our custom code on top of Proxmox, which presumes the fist disk is from 1,
If there's no way starting it from 1, we will adapt our code. is there?
 
You could patch the file yourself, but you would have to do so on every upgrade, but it is in the code and not configurable externally
 

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!