guests/arch: Ensure exit on configure networks fail

This commit is contained in:
Seth Vargo 2016-06-24 19:08:35 -04:00
parent e69211ab22
commit 9ea13105c0
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
def self.configure_networks(machine, networks)
comm = machine.communicate
commands = []
commands = ["set -e"]
interfaces = machine.guest.capability(:network_interfaces)
networks.each.with_index do |network, i|