guests/arch: Ensure exit on configure networks fail
This commit is contained in:
parent
e69211ab22
commit
9ea13105c0
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
||||||
def self.configure_networks(machine, networks)
|
def self.configure_networks(machine, networks)
|
||||||
comm = machine.communicate
|
comm = machine.communicate
|
||||||
|
|
||||||
commands = []
|
commands = ["set -e"]
|
||||||
interfaces = machine.guest.capability(:network_interfaces)
|
interfaces = machine.guest.capability(:network_interfaces)
|
||||||
|
|
||||||
networks.each.with_index do |network, i|
|
networks.each.with_index do |network, i|
|
||||||
|
|
Loading…
Reference in New Issue