Changes in ve .conf file in 2.0

Z

zeedon

Guest
Hey Guys

I noticed my script for cloning VE's seemed to break in 2.0

After looking into it seems the .conf file for a newly created ve are different for example VE 100

in proxve 2.0

VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/100"

where as in 1.9 it was

VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"

I assume there is no issue in me changing this back to $VEID, seems to work fine was just wondering why this has changed?
 
We now support several storage locations (not only /var/lib/vz). I guess that change is the result of using the pve storage library to generate the path.

OK, So there is no problem in setting this back to use $VEID?
 

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!