Problem creating my own openvz template

MisterIX

New Member
Oct 13, 2014
14
0
1
Hello dear reader!

I'm trying to set up my own debian jessie open vz container and tried to follow this manual:

https://www.4b42.de/US-de/kb/58-OpenVZ-Debian-Template-erstellen.html (It is in German).

I successfully deboostrapped Jessie with

Code:
debootstrap --arch amd64 wheezy /var/lib/vz/private/777 http://ftp.ch.debian.org/debian/

but the next step says:

Code:
vzctl set 777 --applyconfig basic --save

Result:

Sample config file not found: /etc/pve/openvz/ve-basic.conf-sample
Error: failed to apply some parameters, not saving configuration file!

So I searched for this error and found this alleged solution which does not seem to work any more:

http://realtechtalk.com/File_etcvzc...directory_Openvz_Error_solution-1237-articles (this time in English).

It says that the file would have to be renamed to ve-vps.basic.conf-sample and that one should edit the /etc/vz/vz.conf and change the line "CONFIGFILE="vps.basic" to CONFIGFILE=BASIC.

Unfortunatly this line doesn't exist in the vz.conf neither does any of these .conf-sample files exist in the /etc/vz/conf/ directory.

So this leaves me stumped. My Proxmox version is 3.3-5.

Any help is greatly appreciated. Kind regards, MisterIX.