mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-27 03:44:48 -05:00
11 lines
222 B
Ruby
11 lines
222 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module GuestLinux
|
|
class Guest < Vagrant.plugin("2", :guest)
|
|
def detect?(machine)
|
|
machine.communicate.test("uname -s | grep 'Linux'")
|
|
end
|
|
end
|
|
end
|
|
end
|