]> git.proxmox.com Git - mirror_lxc.git/commit
ubuntu templates: don't check for $rootfs/run/shm
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 7 Aug 2014 03:23:48 +0000 (03:23 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 8 Aug 2014 15:40:03 +0000 (11:40 -0400)
commit68c36a303f402b52f94067d3da7b168e274001a7
treed8f6006bb779c608cc8665f4fdf1418fa43c6af4
parent96f15ca18cd18d451e5d67adfc11ef5a130ab35c
ubuntu templates: don't check for $rootfs/run/shm

/dev/shm must be turned from a directory into a symlink to /run/shm.
The templates do this only if they find -d $rootfs/run/shm.  Since /run
will be a tmpfs, checking for it in the rootfs is silly.  It also is
currently broken as ubuntu cloud images have an empty /run.

(this should fix https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1353734)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-ubuntu-cloud.in
templates/lxc-ubuntu.in