vagrant/plugins/hosts/arch/plugin.rb

36 lines
771 B
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2012-04-19 01:20:45 -04:00
require "vagrant"
module VagrantPlugins
module HostArch
2012-11-07 00:20:22 -05:00
class Plugin < Vagrant.plugin("2")
2012-04-19 01:20:45 -04:00
name "Arch host"
description "Arch host support."
2014-01-07 23:53:39 -05:00
host("arch", "linux") do
require_relative "host"
2012-05-23 19:03:14 -04:00
Host
end
2014-01-07 23:53:39 -05:00
host_capability("arch", "nfs_installed") do
require_relative "cap/nfs"
Cap::NFS
end
# Linux-specific helpers we need to determine paths that can
# be overridden.
2014-01-07 23:53:39 -05:00
host_capability("arch", "nfs_check_command") do
require_relative "cap/nfs"
Cap::NFS
end
host_capability("arch", "nfs_start_command") do
require_relative "cap/nfs"
Cap::NFS
end
2012-04-19 01:20:45 -04:00
end
end
end