plugins/guests/debian/cap/configure_networks.rb in vagrant-unbundled-1.9.1.1 vs plugins/guests/debian/cap/configure_networks.rb in vagrant-unbundled-1.9.5.1
- old
+ new
@@ -13,14 +13,15 @@
commands = []
entries = []
interfaces = machine.guest.capability(:network_interfaces)
+ root_device = interfaces.first
networks.each do |network|
network[:device] = interfaces[network[:interface]]
entry = TemplateRenderer.render("guests/debian/network_#{network[:type]}",
- options: network,
+ options: network.merge(:root_device => root_device),
)
entries << entry
end
Tempfile.open("vagrant-debian-configure-networks") do |f|