Editing Talk:Download/template/precreated
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
: 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-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 == | |
− | |||
− | |||
− | |||
− | |||
* There is a new version of Gentoo OS template for OpenVZ that made by Thomas Urban, Please check it. | * There is a new version of Gentoo OS template for OpenVZ that made by Thomas Urban, Please check it. | ||
Line 21: | Line 48: | ||
:: 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) | ||
+ | |||
+ | == 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 |