[libvirt] [PATCH] Adding filesystem mount support for openVZ

Evgeniy Sokolov evg at openvz.org
Fri Mar 13 07:11:44 UTC 2009


> 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.




More information about the libvir-list mailing list