From 2d01691e0a02fb20f755927c844a68ea6040dd0e Mon Sep 17 00:00:00 2001 From: Eugene Ware Date: Sat, 15 Feb 2014 15:03:06 +1100 Subject: [PATCH] detect latest version of coreos --- plugins/guests/coreos/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/coreos/guest.rb b/plugins/guests/coreos/guest.rb index 3afdca891..4a349069a 100644 --- a/plugins/guests/coreos/guest.rb +++ b/plugins/guests/coreos/guest.rb @@ -2,7 +2,7 @@ module VagrantPlugins module GuestCoreOS class Guest < Vagrant.plugin("2", :guest) def detect?(machine) - machine.communicate.test("cat /etc/gentoo-release | grep CoreOS") + machine.communicate.test("cat /etc/gentoo-release | grep CoreOS || cat /etc/os-release | grep CoreOS") end end end