Proxmox 5.2 vm-100-disk-0.raw

tincboy

Renowned Member
Apr 13, 2010
466
6
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