From af2c9cade97d0b4acca8750937da231cce92b206 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 14 Aug 2011 16:21:44 +0200 Subject: [PATCH] lxc: Virtualize the hostname for the template container. --- var/lib/lxc/template/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/lib/lxc/template/config b/var/lib/lxc/template/config index fb76f49..fbef1b0 100644 --- a/var/lib/lxc/template/config +++ b/var/lib/lxc/template/config @@ -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 -- 2.30.2