<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Augustz</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Augustz"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Augustz"/>
	<updated>2026-06-10T02:03:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=User:Augustz/OpenVZ_Centos_5_x86_64_-_Scratchpad&amp;diff=3421</id>
		<title>User:Augustz/OpenVZ Centos 5 x86 64 - Scratchpad</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=User:Augustz/OpenVZ_Centos_5_x86_64_-_Scratchpad&amp;diff=3421"/>
		<updated>2007-09-02T16:09:11Z</updated>

		<summary type="html">&lt;p&gt;Augustz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to my scratchpad. &lt;br /&gt;
&lt;br /&gt;
I'm looking to get OpenVZ working with Centos 5 and x86_64. We'll see how it turns out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You need the .i386 version of elementtree&lt;br /&gt;
&lt;br /&gt;
rpm -ivh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=User:Augustz/OpenVZ_Centos_5_x86_64_-_Scratchpad&amp;diff=3420</id>
		<title>User:Augustz/OpenVZ Centos 5 x86 64 - Scratchpad</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=User:Augustz/OpenVZ_Centos_5_x86_64_-_Scratchpad&amp;diff=3420"/>
		<updated>2007-09-02T16:08:43Z</updated>

		<summary type="html">&lt;p&gt;Augustz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to my scratchpad. &lt;br /&gt;
&lt;br /&gt;
I'm looking to get OpenVZ working with Centos 5 and x86_64. We'll see how it turns out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
You need the .i386 version of elementtree&lt;br /&gt;
&lt;br /&gt;
rpm -ivh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=User:Augustz/OpenVZ_Centos_5_x86_64_-_Scratchpad&amp;diff=3419</id>
		<title>User:Augustz/OpenVZ Centos 5 x86 64 - Scratchpad</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=User:Augustz/OpenVZ_Centos_5_x86_64_-_Scratchpad&amp;diff=3419"/>
		<updated>2007-09-02T15:59:24Z</updated>

		<summary type="html">&lt;p&gt;Augustz: New page: Welcome to my scratchpad.   I'm looking to get OpenVZ working with Centos 5 and x86_64. We'll see how it turns out.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to my scratchpad. &lt;br /&gt;
&lt;br /&gt;
I'm looking to get OpenVZ working with Centos 5 and x86_64. We'll see how it turns out.&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=User:Augustz&amp;diff=3418</id>
		<title>User:Augustz</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=User:Augustz&amp;diff=3418"/>
		<updated>2007-09-02T15:58:46Z</updated>

		<summary type="html">&lt;p&gt;Augustz: New page: OpenVZ Centos 5 x86_64 - Scratchpad&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[OpenVZ Centos 5 x86_64 - Scratchpad]]&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2281</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2281"/>
		<updated>2006-09-12T21:29:16Z</updated>

		<summary type="html">&lt;p&gt;Augustz: setting OSTEMPLATE after custom template install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered.&lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you create a ve from one of your own templates, you should edit veid.conf in /etc/vz/conf to set the OSTEMPLATE variable back to fedora-core-5. This will insure that vzyum etc continue to work. Otherwise openvz may not find the metadata for your machine. &lt;br /&gt;
&lt;br /&gt;
== Yum differences ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ creates an entirely new yum.conf as part of the meta-data for a distribution. For FC5 this is in '/vz/template/fedora-core/5/i386/config/yum.conf'. If you have a local repository mirror of FC5 this means openvz will seem very slow unless you update this new openvz yum.conf to match your normal system yum.conf. &lt;br /&gt;
&lt;br /&gt;
Additionally vzyum doesn't seem to pick up $releasever in yum files. I haven't figured that one out yet, and havn't rechecked.&lt;br /&gt;
&lt;br /&gt;
[[category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2280</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2280"/>
		<updated>2006-09-12T21:01:45Z</updated>

		<summary type="html">&lt;p&gt;Augustz: /* Fedora Core 5 Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered.&lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Yum differences ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ creates an entirely new yum.conf as part of the meta-data for a distribution. For FC5 this is in '/vz/template/fedora-core/5/i386/config/yum.conf'. If you have a local repository mirror of FC5 this means openvz will seem very slow unless you update this new openvz yum.conf to match your normal system yum.conf. &lt;br /&gt;
&lt;br /&gt;
Additionally vzyum doesn't seem to pick up $releasever in yum files. I haven't figured that one out yet, and havn't rechecked.&lt;br /&gt;
&lt;br /&gt;
[[category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2279</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2279"/>
		<updated>2006-09-12T21:01:24Z</updated>

		<summary type="html">&lt;p&gt;Augustz: Add to howto catagory.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use. &lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered. &lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Yum differences ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ creates an entirely new yum.conf as part of the meta-data for a distribution. For FC5 this is in '/vz/template/fedora-core/5/i386/config/yum.conf'. If you have a local repository mirror of FC5 this means openvz will seem very slow unless you update this new openvz yum.conf to match your normal system yum.conf. &lt;br /&gt;
&lt;br /&gt;
Additionally vzyum doesn't seem to pick up $releasever in yum files. I haven't figured that one out yet, and havn't rechecked.&lt;br /&gt;
&lt;br /&gt;
[[category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Fedora_Core_5_Tips&amp;diff=2277</id>
		<title>Talk:Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Fedora_Core_5_Tips&amp;diff=2277"/>
		<updated>2006-09-11T21:46:46Z</updated>

		<summary type="html">&lt;p&gt;Augustz: Forgot to sign discussion and diff to simplification&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Simplified commoand ===&lt;br /&gt;
The [[Fedora_Core_5_Tips&amp;amp;diff=2252&amp;amp;oldid=2251|simplified command]] for fixing metadata just displays the text to the screen. I'm looking at this perhaps being a bit of receipe type book for people who struggle with openvz (ie, folks a bit newer to linux). With the display on the screen they still have to write it to a temporary file, and then copy that temporary file over the original, so the receipe is a bit incomplete. &lt;br /&gt;
&lt;br /&gt;
You can easily do this in a one line command of course, but you still end often using an extra intermediate file, which is why I picked the .orig file way of doing things. I think it's a good example for folks who might do other (especially non-idempotent) sed operations. The original method allows repeated applications without worrying if something has already been applied, is completely reversible, and if a source repo is available makes patch submission very easy :) Any time I find myself modifying upstream sources I've used this approach (ie, keep an .orig copy) and it has worked very well especially for contributing back.  &lt;br /&gt;
&lt;br /&gt;
Anyways, those are the two cents. Happy to see it simplified again (the other classic approach is &amp;gt; tempfile &amp;amp;&amp;amp; mv tempfile origfile). And of course the tip is likely to be short lived anyways! [[User:Augustz|Augustz]] 17:46, 11 September 2006 (EDT)&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2276</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2276"/>
		<updated>2006-09-11T21:44:01Z</updated>

		<summary type="html">&lt;p&gt;Augustz: rvt of simplification&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use. &lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered. &lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Yum differences ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ creates an entirely new yum.conf as part of the meta-data for a distribution. For FC5 this is in '/vz/template/fedora-core/5/i386/config/yum.conf'. If you have a local repository mirror of FC5 this means openvz will seem very slow unless you update this new openvz yum.conf to match your normal system yum.conf. &lt;br /&gt;
&lt;br /&gt;
Additionally vzyum doesn't seem to pick up $releasever in yum files. I haven't figured that one out yet, and havn't rechecked.&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Fedora_Core_5_Tips&amp;diff=2275</id>
		<title>Talk:Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Fedora_Core_5_Tips&amp;diff=2275"/>
		<updated>2006-09-11T21:35:22Z</updated>

		<summary type="html">&lt;p&gt;Augustz: Discusion of original method for fixing metadata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Simplified commoand ===&lt;br /&gt;
The simplified command for fixing metadata just displays the text to the screen. I'm looking at this perhaps being a bit of receipe type book for people who struggle with openvz (ie, folks a bit newer to linux). With the display on the screen they still have to write it to a temporary file, and then copy that temporary file over the original, so the receipe is a bit incomplete. &lt;br /&gt;
&lt;br /&gt;
You can easily do this in a one line command of course, but you still end often using an extra intermediate file, which is why I picked the .orig file way of doing things. I think it's a good example for folks who might do other (especially non-idempotent) sed operations. The original method allows repeated applications without worrying if something has already been applied, is completely reversible, and if a source repo is available makes patch submission very easy :) Any time I find myself modifying upstream sources I've used this approach (ie, keep an .orig copy) and it has worked very well especially for contributing back.  &lt;br /&gt;
&lt;br /&gt;
Anyways, those are the two cents. Happy to see it simplified again (the other classic approach is &amp;gt; tempfile &amp;amp;&amp;amp; mv tempfile origfile). And of course the tip is likely to be short lived anyways!&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2251</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2251"/>
		<updated>2006-09-10T03:32:51Z</updated>

		<summary type="html">&lt;p&gt;Augustz: yum differences&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use. &lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered. &lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Yum differences ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ creates an entirely new yum.conf as part of the meta-data for a distribution. For FC5 this is in '/vz/template/fedora-core/5/i386/config/yum.conf'. If you have a local repository mirror of FC5 this means openvz will seem very slow unless you update this new openvz yum.conf to match your normal system yum.conf. &lt;br /&gt;
&lt;br /&gt;
Additionally vzyum doesn't seem to pick up $releasever in yum files. I haven't figured that one out yet, and havn't rechecked.&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2250</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2250"/>
		<updated>2006-09-10T03:16:10Z</updated>

		<summary type="html">&lt;p&gt;Augustz: Cleanup pres&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use. &lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered. &lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2249</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2249"/>
		<updated>2006-09-10T03:14:08Z</updated>

		<summary type="html">&lt;p&gt;Augustz: remove extra whitespace&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use. &lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with a lot of the common gotchas covered. &lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2248</id>
		<title>Fedora Core 5 Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fedora_Core_5_Tips&amp;diff=2248"/>
		<updated>2006-09-10T03:13:46Z</updated>

		<summary type="html">&lt;p&gt;Augustz: Initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Fedora Core 5 Tips ==&lt;br /&gt;
&lt;br /&gt;
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use. &lt;br /&gt;
&lt;br /&gt;
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with a lot of the common gotchas covered. &lt;br /&gt;
&lt;br /&gt;
== Use development branch ==&lt;br /&gt;
&lt;br /&gt;
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  echo '&lt;br /&gt;
  [openvz-kernel-devel]&lt;br /&gt;
  name=OpenVZ development kernel&lt;br /&gt;
  mirrorlist=http://download.openvz.org/kernel/mirrors-devel&lt;br /&gt;
  enabled=1&lt;br /&gt;
  gpgcheck=1&lt;br /&gt;
  gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ&lt;br /&gt;
  ' &amp;gt; /etc/yum.repos.d/openvz-devel.repo&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install&lt;br /&gt;
&lt;br /&gt;
== Fix metadata ==&lt;br /&gt;
&lt;br /&gt;
After installing the metadata, run the following&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  INFILE=/vz/template/fedora-core/5/i386/config/default.list&lt;br /&gt;
  if [ ! -e $INFILE.orig ]&lt;br /&gt;
  then&lt;br /&gt;
    cp $INFILE $INFILE.orig&lt;br /&gt;
  fi&lt;br /&gt;
  sed 's/caching-nameserver/bind-config/' $INFILE.orig &amp;gt; $INFILE&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating your own templates ==&lt;br /&gt;
&lt;br /&gt;
If you are trying to tar up a vps to use as a template, make sure you tar up the INSIDE of the vps, and do not include the vpsid at the beginning (ie /101/). &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Augustz</name></author>
		
	</entry>
</feed>