[lxc-devel] [PATCH] lxc-ubuntu*: Mark non-essential mounts optional
Stéphane Graber
stgraber at ubuntu.com
Tue Nov 12 18:45:23 UTC 2013
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
templates/lxc-ubuntu-cloud.in | 6 +++---
templates/lxc-ubuntu.in | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in
index 41f1c70..aeadc2d 100644
--- a/templates/lxc-ubuntu-cloud.in
+++ b/templates/lxc-ubuntu-cloud.in
@@ -118,9 +118,9 @@ EOF
cat <<EOF > $path/fstab
proc proc proc nodev,noexec,nosuid 0 0
sysfs sys sysfs defaults 0 0
-/sys/fs/fuse/connections sys/fs/fuse/connections none bind 0 0
-/sys/kernel/debug sys/kernel/debug none bind 0 0
-/sys/kernel/security sys/kernel/security none bind 0 0
+/sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 0
+/sys/kernel/debug sys/kernel/debug none bind,optional 0 0
+/sys/kernel/security sys/kernel/security none bind,optional 0 0
/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
EOF
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 9423f0f..3e296d8 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -427,9 +427,9 @@ EOF
cat <<EOF > $path/fstab
proc proc proc nodev,noexec,nosuid 0 0
sysfs sys sysfs defaults 0 0
-/sys/fs/fuse/connections sys/fs/fuse/connections none bind 0 0
-/sys/kernel/debug sys/kernel/debug none bind 0 0
-/sys/kernel/security sys/kernel/security none bind 0 0
+/sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 0
+/sys/kernel/debug sys/kernel/debug none bind,optional 0 0
+/sys/kernel/security sys/kernel/security none bind,optional 0 0
/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
EOF
--
1.8.4.3
More information about the lxc-devel
mailing list