Linux guest detection
This commit is contained in:
parent
6fc477af99
commit
d76f964470
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue