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: Reorder and better document template container configuration.
[matthijs/servers/tika.git]
/
var
/
lib
/
lxc
/
template
/
config
diff --git
a/var/lib/lxc/template/config
b/var/lib/lxc/template/config
index 176643ade1920ccfb1f2cb87171871b372dca13b..7b1fd74dc2fef9819f3f639b942febb56c11b282 100644
(file)
--- a/
var/lib/lxc/template/config
+++ b/
var/lib/lxc/template/config
@@
-1,12
+1,18
@@
-lxc.tty = 4
-lxc.pts = 256
+# Hostname
+lxc.utsname = template
+
+# Use this root filesystem
lxc.rootfs = /var/lib/lxc/template/rootfs
# Log console output
lxc.console = /var/log/lxc/template.lxc
lxc.rootfs = /var/lib/lxc/template/rootfs
# Log console output
lxc.console = /var/log/lxc/template.lxc
-# Hostname
-lxc.utsname = template
+# The number of ttys available (shouldn't be less than the getty's
+# configured in the inittab).
+lxc.tty = 4
+
+# Use private pts for the container
+lxc.pts = 256
# Deny all devices, except the following
lxc.cgroup.devices.deny = a
# Deny all devices, except the following
lxc.cgroup.devices.deny = a