projects
/
matthijs
/
servers
/
tika.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706a3a5
)
lxc: Virtualize the hostname for the template container.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 14 Aug 2011 14:21:44 +0000
(16:21 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 14 Aug 2011 14:27:52 +0000
(16:27 +0200)
var/lib/lxc/template/config
patch
|
blob
|
history
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