Hi Evgeniy,
> really, default config is specified in /etc/sysconfig/vz
>
> # grep -R CONFIGFILE /etc/sysconfig/vz
> CONFIGFILE="vps.basic"
>
> config file is calculating by
> snprintf(path, sizeof(path), VPS_CONF_DIR "ve-%s.conf-sample",
> config);
>
Actually, vz.conf is in /etc/vz/ on my machine (Ubuntu Hardy). Isn't
/etc/vz/ standard ? If not, do you have any idea on how I could locate
vz.conf reliably (or get the value of CONFIGFILE reliably) ?
Yes, /etc/vz/vz.conf is standard config. Better to use /etc/vz.
I am accustomed to use old path /etc/sysconfig/vz, it is symlink to
/etc/vz/vz.conf now.