]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-plamo: Set lxc.autodev to 0
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Tue, 27 Jan 2015 09:48:14 +0000 (18:48 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 27 Jan 2015 09:59:45 +0000 (09:59 +0000)
At this time, a container that is created by lxc-plamo can't work with
lxc.autodev=1

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
config/templates/plamo.common.conf.in
config/templates/plamo.userns.conf.in

index 22d92074b1dcb5b740bd072bbb5d2aa61af0a928..9b0d02b3f1880b8adc83526d54f7df0aa31a858c 100644 (file)
@@ -8,6 +8,9 @@ lxc.mount.entry = none dev/shm tmpfs nosuid,nodev,noexec,mode=1777 0 0
 # Doesn't support consoles in /dev/lxc/
 lxc.devttydir =
 
+# /dev/* is created manually by template
+lxc.autodev = 0
+
 # Extra cgroup device access
 ## rtc
 lxc.cgroup.devices.allow = c 254:0 rm
index 707bb30c09e557eff43c23af887fe40cb1c13a94..bf5093607e7795bd73d85577220ce5574b31177b 100644 (file)
@@ -1,2 +1,5 @@
 # This derives from the global userns config
 lxc.include = @LXCTEMPLATECONFIG@/userns.conf
+
+# /dev/* is created manually by template
+lxc.autodev = 0
\ No newline at end of file