Open main menu

OpenVZ Virtuozzo Containers Wiki β

Editing Ubuntu template

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 1: Line 1:
{{Warning|Dapper (i.e. 6.06) is no longer supported. Use newer Ubuntu templates.}}
+
The ubuntu template is an OpenVZ [[OS template]] that allows you to run ubuntu dapper in your [[VE]], as opposed to the normal Debian stable or Fedora.  
 
 
The ubuntu template is an OpenVZ [[OS template]] that allows you to run ubuntu dapper in your [[container]], as opposed to the normal Debian stable or Fedora.  
 
 
''Please note, that this package is really minimal, you must even install your own language pack!''
 
''Please note, that this package is really minimal, you must even install your own language pack!''
  
Line 9: Line 7:
 
==How do I get it?==
 
==How do I get it?==
 
You may download it from one of the following places:
 
You may download it from one of the following places:
 +
* [http://dudcore.net/ubuntu/ubuntu-6.06-i386-minimal.tar.gz Original place] (dudcore.net)
 
* [http://download.openvz.org/contrib/template/precreated/ubuntu-6.06-i386-minimal.tar.gz download.openvz.org]
 
* [http://download.openvz.org/contrib/template/precreated/ubuntu-6.06-i386-minimal.tar.gz download.openvz.org]
 
* One of the [[download mirrors]]
 
* One of the [[download mirrors]]
Line 14: Line 13:
 
You must place this file in <tt>/vz/template/cache/</tt> directory on your [[hardware node]].
 
You must place this file in <tt>/vz/template/cache/</tt> directory on your [[hardware node]].
  
==How do I create a container that uses this template?==
+
==How do I create a VE that uses this template?==
All you have to do is simply create a normal container but specify ubuntu-6.06-i386-minimal as the template. For example:
+
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>
 
<pre> vzctl create 1002 --ostemplate ubuntu-6.06-i386-minimal </pre>
  
Line 21: Line 20:
  
 
==How do I set it up?==
 
==How do I set it up?==
You can either do those modifications on already existing container, or, if you want these changes to be incorporated into your template, create a temporary container, do these changes, stop the container and tar the result into the same template file.
+
You can either do those modifications on already existing VE, or, if you want these changes to be incorporated into your template, create a temporary VE, do these changes, stop the VE and tar the result into the same template file.
  
 
Well, the first thing you *must* do is install a language pack.  You can do this by typing in
 
Well, the first thing you *must* do is install a language pack.  You can do this by typing in
Line 53: Line 52:
 
/etc/network/if-up.d/ntpdate
 
/etc/network/if-up.d/ntpdate
 
</pre>
 
</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 container this script can simply be deleted. And Magic - the container starts up as fast as I would expect it to and all network interfaces are up and running at once.
+
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==
 
==Bugs==
Line 67: Line 66:
 
[[Category: Templates]]
 
[[Category: Templates]]
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]
[[Category:Ubuntu]]
 

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: