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