mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
30 lines
729 B
Ruby
30 lines
729 B
Ruby
# Copyright IBM Corp. 2010, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module HostRedHat
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "Red Hat Enterprise Linux host"
|
|
description "Red Hat Enterprise Linux host support."
|
|
|
|
host("redhat", "linux") do
|
|
require File.expand_path("../host", __FILE__)
|
|
Host
|
|
end
|
|
|
|
# Linux-specific helpers we need to determine paths that can
|
|
# be overridden.
|
|
host_capability("redhat", "nfs_check_command") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
|
|
host_capability("redhat", "nfs_start_command") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
end
|
|
end
|
|
end
|