You need to include the module to use the class without ::s.
This commit is contained in:
parent
caf4ea722e
commit
2eb97b518c
|
@ -6,6 +6,8 @@ module VagrantPlugins
|
|||
module GuestArch
|
||||
module Cap
|
||||
class ConfigureNetworks
|
||||
include Vagrant::Util
|
||||
|
||||
def self.configure_networks(machine, networks)
|
||||
networks.each do |network|
|
||||
entry = TemplateRenderer.render("guests/arch/network_#{network[:type]}",
|
||||
|
|
Loading…
Reference in New Issue