Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Ubuntu Precise template creation

44 bytes removed, 15:22, 22 July 2014
Bugfix CT creation; rejustify setup part.
* Templates: Ubuntu 12.04 (Precise Pangolin) and 14.04 (Trusty Tahr).
== Setup variables for 12.04 (Precise Pangolin) == Common part:
ARCH="i386"
export COUNTRY="de"
 
For 12.04 (Precise Pangolin):
 
export DIST="precise"
export NAME="ubuntu1204"
export COUNTRY="de"
TMPL="12.04-x86"
== Setup variables for For 14.04 (Trusty Tahr) ==:
ARCH="i386"
export DIST="trusty"
export NAME="ubuntu1404"
export COUNTRY="de"
TMPL="14.04-x86"
ID=123
vzctl create $ID --ostemplate ubuntu-12.04-x86 $TMPL --hostname … --name … --layout simfs
vzctl set $ID --save --onboot yes --nameserver 192.0.2.2 --ipadd 192.0.2.$ID
12
edits