12
edits
Changes
m
"First steps after creation" section added.
Common part:
ARCH="i386"
export COUNTRY="de"
For 12.04 (Precise Pangolin):
export DIST="precise"
export NAME="ubuntu1204"
For 14.04 (Trusty Tahr):
export DIST="trusty"
export NAME="ubuntu1404"
vzctl create $ID --ostemplate ubuntu-$TMPL --hostname … --name … --layout simfs
vzctl set $ID --save --onboot yes --nameserver 192.0.2.2 --ipadd 192.0.2.$ID
== First steps after creation ==
Start and enter:
vzctl start $ID
vzctl enter $ID
Install updates:
apt-get update
apt-get -y dist-upgrade