we need to perform an exact match as we are comparing overlay with overlayfs
This commit is contained in:
parent
10ef1cae8e
commit
00d27d6ec4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue