nfvbenchvm: abort build on error
[nfvbench.git] / nfvbenchvm / dib / elements / nfvbenchvm / post-install.d / 04-add-execute-attribute
index 666d9dc..c96740f 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+# Stop on error
+set -euo pipefail
+
 chmod +x /etc/rc.d/rc.local
 chmod +x /etc/sysconfig/network-scripts/ifcfg-eth0
 chmod +x /etc/profile.d/nfvbench.sh