Editing Ubuntu Precise template creation
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 6: | Line 6: | ||
Common part: | Common part: | ||
+ | |||
ARCH="i386" | ARCH="i386" | ||
export COUNTRY="de" | export COUNTRY="de" | ||
For 12.04 (Precise Pangolin): | For 12.04 (Precise Pangolin): | ||
+ | |||
export DIST="precise" | export DIST="precise" | ||
export NAME="ubuntu1204" | export NAME="ubuntu1204" | ||
Line 15: | Line 17: | ||
For 14.04 (Trusty Tahr): | For 14.04 (Trusty Tahr): | ||
+ | |||
export DIST="trusty" | export DIST="trusty" | ||
export NAME="ubuntu1404" | export NAME="ubuntu1404" | ||
Line 128: | Line 131: | ||
vzctl create $ID --ostemplate ubuntu-$TMPL --hostname … --name … --layout simfs | 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 | vzctl set $ID --save --onboot yes --nameserver 192.0.2.2 --ipadd 192.0.2.$ID | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |