2013-08-03 18:31:42 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestCoreOS
|
|
|
|
class Guest < Vagrant.plugin("2", :guest)
|
|
|
|
def detect?(machine)
|
2014-02-15 04:50:11 +00:00
|
|
|
machine.communicate.test("cat /etc/os-release | grep ID=coreos")
|
2013-08-03 18:31:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|