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