extend should be include for TemplateRenderer in caps
This commit is contained in:
parent
2ddefd49a1
commit
fd157476b4
|
@ -7,7 +7,7 @@ module VagrantPlugins
|
|||
module GuestDebian
|
||||
module Cap
|
||||
class ConfigureNetworks
|
||||
extend Vagrant::Util
|
||||
include Vagrant::Util
|
||||
|
||||
def self.configure_networks(machine, networks)
|
||||
machine.communicate.tap do |comm|
|
||||
|
|
|
@ -7,7 +7,7 @@ module VagrantPlugins
|
|||
module GuestFedora
|
||||
module Cap
|
||||
class ConfigureNetworks
|
||||
extend Vagrant::Util
|
||||
include Vagrant::Util
|
||||
|
||||
def self.configure_networks(machine, networks)
|
||||
network_scripts_dir = machine.guest.capability("network_scripts_dir")
|
||||
|
|
|
@ -6,7 +6,7 @@ module VagrantPlugins
|
|||
module GuestFreeBSD
|
||||
module Cap
|
||||
class ConfigureNetworks
|
||||
extend Vagrant::Util
|
||||
include Vagrant::Util
|
||||
|
||||
def self.configure_networks(machine, networks)
|
||||
# Remove any previous network additions to the configuration file.
|
||||
|
|
|
@ -6,7 +6,7 @@ module VagrantPlugins
|
|||
module GuestFreeBSD
|
||||
module Cap
|
||||
class ChangeHostName
|
||||
extend Vagrant::Util
|
||||
include Vagrant::Util
|
||||
|
||||
def self.configure_networks(machine, networks)
|
||||
machine.communicate.tap do |comm|
|
||||
|
|
|
@ -7,7 +7,7 @@ module VagrantPlugins
|
|||
module GuestRedHat
|
||||
module Cap
|
||||
class ConfigureNetworks
|
||||
extend Vagrant::Util
|
||||
include Vagrant::Util
|
||||
|
||||
def self.configure_networks(machine, networks)
|
||||
network_scripts_dir = machine.guest.capability("network_scripts_dir")
|
||||
|
|
Loading…
Reference in New Issue