Installation/creation

Container creation
lxc-create -n container-name -t download -- -d ubuntu -r trusty -a amd64

Creating a lightweight clone
lxc-clone -s <org> <new name>

Creating a full clone (of a lightweight) clone
lxc-clone -B dir <org> <new name>

Note: Fix the MAC address to avoid issues with (low end) switches lxc.network.hwaddr = aa:bb:cc:xx:yy:zz

De-install

apt-get purge isc-dhcp-client ntpdate eject openssh-sftp-server ureadahead
update-rc.d ondemand disable

Update

apt-get update
apt-get upgrade
apt-get clean all

Configure

dpkg-reconfigure tzdata

Extra line to the end of /etc/rsyslog.conf for central logging

*.* @192.168.1.1:514

Topic revision: r6 - 09 Sep 2015, AdminUser - This page was cached on 10 Apr 2017 - 23:54.

This site is powered by FoswikiCopyright © by Eddy Vervest