Changes

Jump to: navigation, search

Ubuntu template

471 bytes removed, 11:22, 13 July 2006
m
Reverted edit of Logos, changed back to last version by Kir
You must place this file in <tt>/vz/template/cache/</tt> directory on your [[hardware node]].
ifu==How do I create a VE that uses this template?==
All you have to do is simply create a normal VE but specify ubuntu-6.06-i386-minimal as the template. For example:
<pre> vzctl create 1002 --ostemplate ubuntu-6.06-i386-minimal </pre>
==How was this template created?==
This package was created using debootstrap, and using the ubuntu dapper repositories. There were some hacks that needed to be done to the enviorment to get it working correctly, mainly for networking. The system was bootstrapped on a real ubuntu dapper system with ovzkernel-2.6.8. I checked it with my own server and then my webhosts, and it works correctly.
 
==Network issues==
If the template seems to have no working network it most probably needs more time to bring up the interfaces. The issue is, that
<pre>
/etc/network/if-up.d/ntpdate
</pre>
wants to set the clock during network start and runs into a very long timeout. Since ntpdate is not needed at all inside a VE this script can simply be deleted. And Magic - the VE starts up as fast as I would expect it to and all network interfaces are up and running at once.
==Bugs==

Navigation menu