Linux guest detection

This commit is contained in:
Mitchell Hashimoto 2013-04-10 13:39:07 -07:00
parent 6fc477af99
commit d76f964470
1 changed files with 1 additions and 2 deletions

View File

@ -4,8 +4,7 @@ module VagrantPlugins
module GuestLinux
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
# TODO: Linux detection
false
machine.communicate.test("uname -s | grep 'Linux'")
end
end
end