projects
/
matthijs
/
servers
/
tika.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lxc: Virtualize the hostname for the template container.
[matthijs/servers/tika.git]
/
var
/
lib
/
lxc
/
template
/
config
diff --git
a/var/lib/lxc/template/config
b/var/lib/lxc/template/config
index fb76f4930bf6faf6408ca071f40f4020fcf8b871..fbef1b0accbde9265398a80182b52aca246c8f4b 100644
(file)
--- 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