vagrant/plugins/guests/coreos/guest.rb

10 lines
217 B
Ruby
Raw Normal View History

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