Merge pull request #2985 from eugeneware/latest_coreos_support
guests/coreos: detect latest version.
This commit is contained in:
commit
9960137d33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue