From 00d27d6ec481b1b32f417219092c989bb2700cdc Mon Sep 17 00:00:00 2001 From: Akshay Karle Date: Thu, 19 Nov 2015 14:24:26 -0300 Subject: [PATCH] we need to perform an exact match as we are comparing overlay with overlayfs --- lib/lxc/start_ephemeral.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lxc/start_ephemeral.rb b/lib/lxc/start_ephemeral.rb index e531236..d867d48 100644 --- a/lib/lxc/start_ephemeral.rb +++ b/lib/lxc/start_ephemeral.rb @@ -41,7 +41,7 @@ module LXC private def new_overlay? - @new_overlay ||= File.open('/proc/filesystems').grep(/nodev\s+overlay/).any? + @new_overlay ||= File.open('/proc/filesystems').grep(/^nodev\s+overlay$/).any? end def random_mac