nfvbenchvm: add 2 debug features to build-image.sh
[nfvbench.git] / nfvbenchvm / dib / elements / nfvbenchvm / post-install.d / 04-add-execute-attribute
1 #!/bin/bash
2
3 if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
4     set -x
5 fi
6
7 # Stop on error
8 set -euo pipefail
9
10 chmod +x /etc/rc.d/rc.local
11 chmod +x /etc/sysconfig/network-scripts/ifcfg-eth0
12 chmod +x /etc/profile.d/nfvbench.sh
13 chmod +x /nfvbench/configure-nfvbench.sh
14 chmod +x /nfvbench/start-nfvbench.sh