Open main menu

OpenVZ Virtuozzo Containers Wiki β

Editing Deploying Debian VEs without Templates

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:
 
Installing Debian Virtual Environments without relying on a precreated template has many advantages and a few drawbacks. This article tries to outline those factors and provide a possible solution to reduce the amount of work needed for template-less Debian deployments.
 
Installing Debian Virtual Environments without relying on a precreated template has many advantages and a few drawbacks. This article tries to outline those factors and provide a possible solution to reduce the amount of work needed for template-less Debian deployments.
  
{{Note|'''[https://downloads.actiu.net/ctctl/ ctctl]''' is an alternative wizard to create a container and convert it to a template.}}
 
  
 
== Templates ==
 
== Templates ==
  
 
[[Template|Templates]] are at the heart of the OpenVZ VE creation process. A "template cache" is basically a tarball consisting of a minimum operating system installation of a given Linux flavor.  
 
[[Template|Templates]] are at the heart of the OpenVZ VE creation process. A "template cache" is basically a tarball consisting of a minimum operating system installation of a given Linux flavor.  
 +
  
 
== Reasons for pre-built templates ==
 
== Reasons for pre-built templates ==
Line 45: Line 45:
 
The basic steps needed to deploy Debian VEs are outlined in [[Debian template creation]].
 
The basic steps needed to deploy Debian VEs are outlined in [[Debian template creation]].
  
== Creation helpers ==
+
== A working solution ==
  
 
To automate the process of deploying VEs with <tt>debootstrap</tt> a bit of shell-scripting glue is needed.
 
To automate the process of deploying VEs with <tt>debootstrap</tt> a bit of shell-scripting glue is needed.
  
=== ctcreate by Narcis Garcia ===
+
A work-in-progress version of such a tool can be found at https://github.com/terrorobe/vzstuff. To get a local copy you will need to install [http://git-scm.com/ git] and then run the following command:
2017 version included in the [https://git.actiu.net/libre/amoreos/ Amoreos repository]. Deploys APT/Debian containers for OpenVZ 6 in APT/Debian host, by building its corresponding template first.
+
 
 +
git clone git://github.com/terrorobe/vzstuff.git
  
=== deploy.sh by Michael Renner ===
 
  
2011 version can be found at [https://github.com/terrorobe/vzstuff github.com/terrorobe/vzstuff]. To get a local copy you will need to install [http://git-scm.com/ git] and then run the following command:
 
git clone git://github.com/terrorobe/vzstuff.git
 
 
Following the instructions in the README file should get you started nicely.  
 
Following the instructions in the README file should get you started nicely.  
  

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)

Template used on this page: