From 7abf1a8ea14252fa55bf7da0575ad0ff21f41d61 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 6 Nov 2017 09:20:27 -0800 Subject: Add debug support This change allows to control the level of verbosity for the ONAP on vagrant execution. The new debug configuration value enables verbosity setting its value to *True* Change-Id: I29a3694ea3182a02cb585af5ae8ada1f8a415c8c Signed-off-by: Victor Morales Issue-Id: INT-323 --- bootstrap/vagrant-onap/vagrant_utils/postinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bootstrap/vagrant-onap/vagrant_utils/postinstall.sh') diff --git a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh index 89a69dd9a..7083f3d02 100755 --- a/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh +++ b/bootstrap/vagrant-onap/vagrant_utils/postinstall.sh @@ -1,6 +1,8 @@ #!/bin/bash -set -o xtrace +if [[ "$debug" == "True" ]]; then + set -o xtrace +fi source /var/onap/functions -- cgit 1.2.3-korg