From 45cb26348ecafa409b35f023a422b7d626d63425 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 4 Nov 2021 14:52:52 -0700 Subject: [PATCH] Update atomic detection to prevent overlap with other guests --- plugins/guests/atomic/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/atomic/guest.rb b/plugins/guests/atomic/guest.rb index 3fbb439db..433a08274 100644 --- a/plugins/guests/atomic/guest.rb +++ b/plugins/guests/atomic/guest.rb @@ -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