detect latest version of coreos
This commit is contained in:
parent
8c9fde41e9
commit
2d01691e0a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue