lxc: Virtualize the hostname for the template container.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 14 Aug 2011 14:21:44 +0000 (16:21 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 14 Aug 2011 14:27:52 +0000 (16:27 +0200)
var/lib/lxc/template/config

index fb76f4930bf6faf6408ca071f40f4020fcf8b871..fbef1b0accbde9265398a80182b52aca246c8f4b 100644 (file)
@@ -2,6 +2,9 @@ lxc.tty = 4
 lxc.pts = 256
 lxc.rootfs = /var/lib/lxc/template/rootfs
 
+# Hostname
+lxc.utsname = template
+
 # Deny all devices, except the following
 lxc.cgroup.devices.deny = a
 # /dev/null