2012-04-19 04:23:25 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestUbuntu
|
2014-05-06 19:50:35 +00:00
|
|
|
class Guest < Vagrant.plugin("2", :guest)
|
2013-04-04 04:47:57 +00:00
|
|
|
def detect?(machine)
|
2014-09-26 12:05:54 +00:00
|
|
|
machine.communicate.test("[ -x /usr/bin/lsb_release ] && /usr/bin/lsb_release -i 2>/dev/null | grep Ubuntu")
|
2013-04-04 04:47:57 +00:00
|
|
|
end
|
2011-03-01 07:38:30 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|