Changes

Jump to: navigation, search

Ubuntu Trusty template creation

1,447 bytes added, 14:13, 28 January 2014
Created page with "worked for me with a beta release of ubuntu 14.04. used part of the 12.04 howto as a guidline. I debootstrapped trusty on another ubuntu box before copying it to a CentOS HN...."
worked for me with a beta release of ubuntu 14.04. used part of the 12.04 howto as a guidline.

I debootstrapped trusty on another ubuntu box before copying it to a CentOS HN. the debootstrap-script on CentOS didn't work for 14.04

please append/edit if you feel i missed something

'''howto:'''

<code>
debootstrap --arch amd64 trusty /vz/private/2111 ftp://ftp.ubuntu.com/ubuntu

vzctl set 2111 --applyconfig basic --save

vzctl set 2111 --ostemplate ubuntu-12.04-x86_64 --save

vzctl set 2111 --ipadd x.x.x.x --name trusty --hostname trusty.test.intern --save

vzctl start 2111

apt-get update

apt-get install vim

apt-get remove ntpdate

</code>
add to the start of init script /etc/init.d/ondemad

<code>
[ ! -f /etc/init/lxc-android-config.conf ] || exit 0

[ -d /proc/vz ] && [ ! -d /proc/bc ] && exit 0</code>

or simply "exit 0"



fix rsyslog
<code>
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf</code>

disable sync

<code>
sed -i -e 's@\([[:space:]]\)\(/var/log/\)@\1-\2@' /etc/rsyslog.d/*.conf</code>

delete unneeded init-jobs

<code>
rm -f /etc/init/console* /etc/init/tty*</code>

comment the following lines in /etc/init/rc.conf

<code>
console output

env INIT_VERBOSE
</code>

change /etc/apt/sources.list to something like

<code>
deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse

deb http://archive.ubuntu.com/ubuntu trusty-security main universe multiverse
</code>
2
edits

Navigation menu