Linux guest detection
This commit is contained in:
parent
6fc477af99
commit
d76f964470
|
@ -4,8 +4,7 @@ module VagrantPlugins
|
||||||
module GuestLinux
|
module GuestLinux
|
||||||
class Guest < Vagrant.plugin("2", :guest)
|
class Guest < Vagrant.plugin("2", :guest)
|
||||||
def detect?(machine)
|
def detect?(machine)
|
||||||
# TODO: Linux detection
|
machine.communicate.test("uname -s | grep 'Linux'")
|
||||||
false
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue