Browse Source

stop on error

Toastie 1 year ago
parent
commit
1f48367af6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      startup.sh

+ 2 - 2
startup.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
 
 # Load configuration
 [ -f ./config.sh ] && source config.sh
@@ -30,4 +30,4 @@ sleep 2 && systemctl status --no-pager libvirt-guests
 
 # 4. Fix forward chain which was set to default deny by docker
 # so our KVM containers on br0 have access to the network
-iptables -v -A FORWARD -i br0 -o br0 -j ACCEPT
+iptables -v -A FORWARD -i br0 -o br0 -j ACCEPT