detect latest version of coreos

This commit is contained in:
Eugene Ware 2014-02-15 15:03:06 +11:00
parent 8c9fde41e9
commit 2d01691e0a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module VagrantPlugins
module GuestCoreOS module GuestCoreOS
class Guest < Vagrant.plugin("2", :guest) class Guest < Vagrant.plugin("2", :guest)
def detect?(machine) 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 end
end end