Merge pull request #1734 from frankshearar/arch-configure-network-needs-template

No TemplateRenderer for arch's configure_networks
This commit is contained in:
Fabio Rehm 2013-07-16 18:20:46 -07:00
commit 2d4a3994ea
1 changed files with 6 additions and 0 deletions

View File

@ -1,7 +1,13 @@
require "tempfile"
require "vagrant/util/template_renderer"
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]}",