Re: Config file not found [message #28058 is a reply to message #28053] |
Fri, 07 March 2008 11:25 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
|
Quote: | 1) What is the file missing? Because /etc/vz/conf/abc.conf really exists and seems to be used to create /etc/vz/conf/123.conf!
|
1. The --ostemplate argument telling vzctl which distribution to use to create this container. It refers to /vz/template/cache/abc.tar.gz file.
2. The missing file in the error message is /etc/vz/dists/abc.conf -- a distribution-specific file telling how to tune various settings (such as IP addresses) inside this specific distro. Out-of-the-box vzctl supports fedora, redhat, suse, debian, gentoo, archlinux, altlinux and some other distros. It does not support a distribution called abc, so you should take care of it.
3. File /etc/vz/conf/abc.conf is never used.
4. If you want to specify an initial config for a container (with stuff like UBC parameters, disk quota etc.) , this is done with --config argument. See man vzctl for details.
Hope that helps.
Kir Kolyshkin
|
|
|