From 9ea13105c0c3c0abdd88cbe0bf7806720741b3aa Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Fri, 24 Jun 2016 19:08:35 -0400 Subject: [PATCH] guests/arch: Ensure exit on configure networks fail --- plugins/guests/arch/cap/configure_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/arch/cap/configure_networks.rb b/plugins/guests/arch/cap/configure_networks.rb index 74989d984..8f75548f0 100644 --- a/plugins/guests/arch/cap/configure_networks.rb +++ b/plugins/guests/arch/cap/configure_networks.rb @@ -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|