On Sunday 25 May 2008 06:39:39 Cliff Wells wrote:
> Host OS: Gentoo x86_64
>
> I was using vzctl from git for a long while but recently started having
> this error whenever creating a VE:
>
> /usr/share/vzpkg/functions: line 233: /etc/sysconfig/vz: No such file or
> directory Warning: Variable TEMPLATE not found in /etc/sysconfig/vz; using
> default (/vz/template). Unable to get full ostemplate name for
> ubuntu-8.04-i386-minimal
> Creating VE private area (ubuntu-8.04-i386-minimal)
>
> I checked and sure enough, there's no /etc/sysconfig/vz directory.
>
> I tried uninstalling and reinstalling, uninstalling and installing from
> portage... nothing seems to fix it.
>
> Any suggestions?
/etc/sysconfig/vz was moved to /etc/vz/vz.conf long time ago, while symlink
was provided by vzctl package for backward compatibility. Looks like now it
is broken. Workaround - change line 233 in /usr/share/vzpkg/functions to
point to /etc/vz/vz.conf
>
> Regards,
> Cliff
>
--
Thanks,
Dmitry.