Changes

Jump to: navigation, search

Creating a CentOS 6 Template

176 bytes added, 12:30, 24 October 2012
m
no edit summary
ACTIVE_CONSOLES=
Change timezone (if needed)<br /><code>rm /newroot/etc/localtime<br />
ln -s /usr/share/zoneinfo/Your/Timezone /newroot/etc/localtime
</code>
<br />
The only thing missing is to create a tarball of our new root.
<code>tar zcf /vz/template/cache/centos-6-x86_64.tar.gz -C /newroot .</code>
You probably want to get rid of /newroot<br /><code>tar zcf /vz/template/cache/centos-6-x86_64.tar.gz rm -C rf /newroot .</code>

Navigation menu