Merge pull request #2985 from eugeneware/latest_coreos_support

guests/coreos: detect latest version.
This commit is contained in:
Mitchell Hashimoto 2014-02-15 10:13:14 -08:00
commit 9960137d33
1 changed files with 1 additions and 1 deletions

View File

@ -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/os-release | grep ID=coreos")
end
end
end