X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbenchvm%2Fdib%2Felements%2Fnfvbenchvm%2Fpost-install.d%2F52-nfvbench-script;h=2182c83cf2477cd696829148a72c8182cad6ebc8;hb=refs%2Fchanges%2F34%2F73234%2F1;hp=782d9b6f500221318cdd3ececf7759b0ebb13045;hpb=ce062d315394b813ce79849c6595d198351c2cec;p=nfvbench.git diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/52-nfvbench-script b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/52-nfvbench-script index 782d9b6..2182c83 100755 --- a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/52-nfvbench-script +++ b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/52-nfvbench-script @@ -1,5 +1,9 @@ #!/bin/bash +if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then + set -x +fi + # Make sure the disk image build fails if nfvbench installation fails set -euo pipefail