[one-users] OpenVZ VM config template

knawnd at gmail.com knawnd at gmail.com
Thu Mar 31 05:56:27 PDT 2011


> But then DISKSPACE, DISKINODES and QUOTATIME are not passed to remote 
> node in deployment.0 file :
> What way would you recommend to pass disk-related parameters such as 
> DISKSPACE, DISKINODES and QUOTATIME (and could be more) to 
> deployment.0 file?
The workaround for that can be using RAW attribute in ONE VM template 
e.g. as below:
DISK = [ IMAGE  = "centos-5-x86" ]

RAW = [ TYPE = "ovz",
         DATE = "DISKSPACE=\"1048576:1153024\", 
DISKINODES=\"200000:220000\"" ]

That way DISKSPACE and DISKINODES parameters appear in VM deployment.0 file.

Regards,
Nikolay.



More information about the Users mailing list