rename host plugin (fedora to redhat)
This commit is contained in:
parent
d1871b5c15
commit
b16d56c717
|
@ -5,7 +5,7 @@ require "vagrant"
|
|||
require Vagrant.source_root.join("plugins/hosts/linux/host")
|
||||
|
||||
module VagrantPlugins
|
||||
module HostFedora
|
||||
module HostRedHat
|
||||
class Host < VagrantPlugins::HostLinux::Host
|
||||
def self.match?
|
||||
release_file = Pathname.new("/etc/redhat-release")
|
|
@ -1,12 +1,12 @@
|
|||
require "vagrant"
|
||||
|
||||
module VagrantPlugins
|
||||
module HostFedora
|
||||
module HostRedHat
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Fedora host"
|
||||
description "Fedora host support."
|
||||
name "Red Hat host"
|
||||
description "Red Hat host support."
|
||||
|
||||
host("fedora") do
|
||||
host("redhat") do
|
||||
require File.expand_path("../host", __FILE__)
|
||||
Host
|
||||
end
|
Loading…
Reference in New Issue