Changes

Jump to: navigation, search

Ubuntu Precise template creation

12 bytes added, 20:57, 29 August 2014
m
debootstrap dir: $ARCH suffix added.
apt-get -y install debootstrap
cd /usr/share/debootstrap/scripts && ln -s gutsy trusty && cd -
debootstrap --arch $ARCH $DIST /var/lib/vz/template/$NAME -$ARCH http://$COUNTRY.archive.ubuntu.com/ubuntu
chroot /var/lib/vz/template/$NAME
rm -f /var/lib/vz/template/cache/ubuntu-$TMPL.tar.gz &&
tar czf /var/lib/vz/template/cache/ubuntu-$TMPL.tar.gz --numeric-owner -C /var/lib/vz/template/$NAME -$ARCH .
== How to create CT from template ==
12
edits

Navigation menu