mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-16 17:19:39 -05:00
12 lines
247 B
Ruby
12 lines
247 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module HostLinux
|
|
# Represents a Linux based host, such as Ubuntu.
|
|
class Host < Vagrant.plugin("2", :host)
|
|
def detect?(env)
|
|
Vagrant::Util::Platform.linux?
|
|
end
|
|
end
|
|
end
|
|
end
|