Update atomic detection to prevent overlap with other guests

This commit is contained in:
Chris Roberts 2021-11-04 14:52:52 -07:00
parent 69ddf98607
commit 45cb26348e

View File

@ -4,7 +4,7 @@ module VagrantPlugins
module GuestAtomic
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("grep 'ostree=' /proc/cmdline")
machine.communicate.test("grep 'ostree=.*atomic' /proc/cmdline")
end
end
end