Difference between revisions of "Talk:Download/template/precreated"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Contributed templates)
(Obsolete comments cleaned)
Line 2: Line 2:
 
Where to report an error in one of the templates? {{unsigned|92.124.110.96|19:37, 24 April 2010}}
 
Where to report an error in one of the templates? {{unsigned|92.124.110.96|19:37, 24 April 2010}}
 
: http://bugzilla.openvz.org/enter_bug.cgi?product=OpenVZ&component=templates --[[User:Kir|Kir]] 07:22, 26 April 2010 (UTC)
 
: http://bugzilla.openvz.org/enter_bug.cgi?product=OpenVZ&component=templates --[[User:Kir|Kir]] 07:22, 26 April 2010 (UTC)
 
=== ubuntu-11.10 ===
 
Tried the updated supported ubuntu-11.10-x86 in a Debian 6 hardware node, but still doesn't work '''pts''' when entering, and cannot do dash/bash session. --[[User:Narcisgarcia|Narcis Garcia]] 08:10, 20 February 2012 (EST)
 
 
:: Well I just tried it, everything works fine and looks the way it should. --[[User:Kir|Kir]] 17:23, 26 February 2012 (EST)
 
 
::: Thanks; with the 2012-02-18 templates update, general networking and ssh session work fine, except when trying to run "vzctl enter 777" --[[User:Narcisgarcia|Narcis Garcia]] 04:23, 28 March 2012 (EDT)
 
 
=== ubuntu-10.04-x86 ===
 
(I cannot publish my email in bugzilla)
 
 
Ubuntu 10.04 templates (2010-07-10) lack of [http://blog.bodhizazen.net/linux/ubuntu-10-04-openvz-templates/ bodhi.zazen's patch for upstart]. It's a simple text file saved as /vz/private/777/etc/init/openvz.conf and with the following content. Without this, on container upgrade networking is lost:
 
# OpenVZ - Fix init sequence to have OpenVZ working with upstart
 
 
description "Fix OpenVZ"
 
 
start on startup
 
 
task
 
pre-start script
 
mount -t devpts devpts /dev/pts
 
mount -t tmpfs varrun /var/run
 
mount -t tmpfs varlock /var/lock
 
mkdir -p /var/run/network
 
if [ ! -e /etc/mtab ]; then
 
cat /proc/mounts > /etc/mtab
 
fi
 
touch /var/run/utmp
 
chmod 664 /var/run/utmp
 
chown root.utmp /var/run/utmp
 
if [ "$(find /etc/network/ -name upstart -type f)" ]; then
 
chmod -x /etc/network/*/upstart || true
 
fi
 
end script
 
 
script
 
start networking
 
initctl emit filesystem --no-wait
 
initctl emit local-filesystems --no-wait
 
initctl emit virtual-filesystems --no-wait
 
init 2
 
end script
 
Also is necessary to put upstart, mountall and ifupdown on hold:
 
echo "mountall hold" | dpkg --set-selections
 
echo "upstart hold" | dpkg --set-selections
 
echo "ifupdown hold" | dpkg --set-selections
 
  
 
== Contributed templates ==
 
== Contributed templates ==
Line 57: Line 11:
 
:: Gentoo 10.1 amd64, ~201 MiB, created on 2010-04-11. http://blog.toxa.de/wp-content/uploads/2010/04/gentoo.tar.gz
 
:: Gentoo 10.1 amd64, ~201 MiB, created on 2010-04-11. http://blog.toxa.de/wp-content/uploads/2010/04/gentoo.tar.gz
 
:: Author notes: http://blog.toxa.de/archives/266
 
:: Author notes: http://blog.toxa.de/archives/266
 
 
* I have built an i386 Debian Lenny template for download, and has been verified working at this time. http://www.fuzzyconcepts.net/openvz/debian-5.0-i386-fc1.tar.gz  --[[User:Echelon|Echelon]] 20:26 23 Dec 2008 (EST)
 
:: It's no longer available --[[User:Kir|Kir]] 09:40, 2 October 2009 (UTC)
 
 
* Can you download ALTLinux 5.1 templates? I have built it for i586 and x86_64 architectures and have tested at real tasks:
 
** ftp://oscada.org/ALTLinux/5.1/OVZ/altlinux-5.1-i586.tar.gz
 
** ftp://oscada.org/ALTLinux/5.1/OVZ/altlinux-5.1-x86_64.tar.gz
 
: Roman Savochenko 03 Feb 2010 13:05 +02:00
 
:: Done --[[User:Kir|Kir]] 13:40, 3 February 2010 (UTC)
 
 
* I've created a Scientific Linux 6.0 x86_64 minimal image using mock, by going through installed packages by hand to eliminate as many as I thought safe, and otherwise by following similar instructions as Vic here:  http://www.montanalinux.org/openvz-contrib-ostemp-scientificlinux6-x86.html  (including the installation of vzdummy package and modification of scripts under /etc/init so upstart is happy without a console).  It seems to be working fine for me using an /etc/vz/dists/sl6.conf file which is exactly similar to the centos.conf file.  This template is available for download here:
 
** http://www.balukoff.com/~stephen/sl6-minimal-x86_64.tar.gz
 
This template was created on 23 Apr 2011 -- [[User:Sbalukoff|Sbalukoff]] 16:20, 24 April 2011 (UTC)
 
  
 
* I've have built a OpenVPN template that will create an OpenVPN server in just a few minutes.  This template also has scripts to create client config files and generate the needed commands on the HN.  There are two versions of this template.  One version creates clients with login/password auth(road warrior).  The second version creates the normal server-client setup(always connected). Based on Centos 6.2 amd64  
 
* I've have built a OpenVPN template that will create an OpenVPN server in just a few minutes.  This template also has scripts to create client config files and generate the needed commands on the HN.  There are two versions of this template.  One version creates clients with login/password auth(road warrior).  The second version creates the normal server-client setup(always connected). Based on Centos 6.2 amd64  
Line 79: Line 19:
 
** template: http://mirror1.classiccitytelco.com/templates/cctel-6.2.18-x86_64-default.tar.gz
 
** template: http://mirror1.classiccitytelco.com/templates/cctel-6.2.18-x86_64-default.tar.gz
 
** dists conf file: http://mirror1.classiccitytelco.com/cctel/source/cct-enterprise-linux.conf
 
** dists conf file: http://mirror1.classiccitytelco.com/cctel/source/cct-enterprise-linux.conf
 
== Some old notes (no more relevant) ==
 
* Just added a note to the article that the Debian images are still insecure. It would be better to replace the images with corrected ones, but I have no idea who to contact. --[[User:Bluehorn|Bluehorn]] 09:42, 5 July 2008 (EDT)
 
 
* The Centos 5 minimal x86-64 image appears to be lacking in many ways. Most importantly it doesn't set up /dev properly. I'm going to test out the Centos 5 not-so minimal image. --[[User:cbsmith|cbsmith]] 17:53 22 Sept 2008 (PDT)
 
 
 
== Gentoo templates ==
 
Gentoo template from the 2008th year is very old and comes in a non-functional after the upgrade.
 
 
I made a script for automatic assembly of the template (use the description http://wiki.openvz.org/Gentoo_template_creation
 
).
 
 
Templates and script are available at:
 
* http://home.bozaro.ru/openvz/gentoo-2010-openvz_2010.10.07_amd64.tar.gz
 
* http://home.bozaro.ru/openvz/gentoo-2010-openvz_2010.10.12_i386.tar.gz
 
* http://home.bozaro.ru/openvz/openvz.sh
 
: Artem V. Navrotsky 18 Oct 2010 09:39 +04:00
 
 
== Debian 5.0 ==
 
 
Debian 5.0 is now officially EOL and no new security updates are distributed for it (plus, all repositories have moved to archive.debian.org).
 
I suppose it should be removed from the main template list, into the EOL list?
 
[[Special:Contributions/81.71.53.254|81.71.53.254]] 17:49, 16 April 2012 (EDT)
 

Revision as of 07:10, 15 May 2013

Error reporting

Where to report an error in one of the templates? —The preceding unsigned comment was added by 92.124.110.96 (talkcontribs) 19:37, 24 April 2010.

http://bugzilla.openvz.org/enter_bug.cgi?product=OpenVZ&component=templates --Kir 07:22, 26 April 2010 (UTC)

Contributed templates

  • Most recent Funtoo templates can be found here (daily builds) for x86 and x86_64:

http://ftp.osuosl.org/pub/funtoo/funtoo-current/openvz/

  • There is a new version of Gentoo OS template for OpenVZ that made by Thomas Urban, Please check it.
Gentoo 10.1 amd64, ~201 MiB, created on 2010-04-11. http://blog.toxa.de/wp-content/uploads/2010/04/gentoo.tar.gz
Author notes: http://blog.toxa.de/archives/266
  • I've have built a OpenVPN template that will create an OpenVPN server in just a few minutes. This template also has scripts to create client config files and generate the needed commands on the HN. There are two versions of this template. One version creates clients with login/password auth(road warrior). The second version creates the normal server-client setup(always connected). Based on Centos 6.2 amd64

Info can be found here: https://github.com/dad311/Easy-OpenVPN-1.2-OpenVZ-CT/downloads Create 1/2012