vagrant/plugins/hosts/linux/host.rb

16 lines
316 B
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2012-05-23 19:03:14 -04:00
require "vagrant"
2011-08-28 02:39:02 -04:00
2012-04-19 01:20:45 -04:00
module VagrantPlugins
module HostLinux
2010-07-17 12:09:06 -04:00
# Represents a Linux based host, such as Ubuntu.
2012-11-07 00:20:22 -05:00
class Host < Vagrant.plugin("2", :host)
2014-01-08 00:18:36 -05:00
def detect?(env)
2012-04-19 01:20:45 -04:00
Vagrant::Util::Platform.linux?
2011-12-12 02:22:44 -05:00
end
2010-07-17 12:09:06 -04:00
end
end
end