12
edits
Changes
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"
TMPL="12.04-x86"
export DIST="trusty"
export NAME="ubuntu1404"
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