diff --git a/deployment_scripts/cleanup_os.sh b/deployment_scripts/cleanup_os.sh index d26ae40..47ecdda 100644 --- a/deployment_scripts/cleanup_os.sh +++ b/deployment_scripts/cleanup_os.sh @@ -15,6 +15,12 @@ #!/bin/bash +mkdir -p /var/log/plumgrid +exec > /var/log/plumgrid/cleanup_os.log +exec 2>&1 + +set -x + if [[ ! -f "/root/cleanup_os" ]];then source /root/openrc router_id=`neutron router-list | grep "network_id" | awk '{print $2}'` diff --git a/deployment_scripts/pg_os_version.sh b/deployment_scripts/pg_os_version.sh index b9d2e5e..5fa80d4 100644 --- a/deployment_scripts/pg_os_version.sh +++ b/deployment_scripts/pg_os_version.sh @@ -15,6 +15,12 @@ #!/bin/bash +mkdir -p /var/log/plumgrid +exec > /var/log/plumgrid/pg_os_version.log +exec 2>&1 + +set -x + . /tmp/plumgrid_config curl -Lks http://$pg_repo:81/files/lvm-installer.sh -o /tmp/lvm-installer.sh diff --git a/deployment_scripts/plumgrid_fabric.sh b/deployment_scripts/plumgrid_fabric.sh index a2c3685..1dc2392 100644 --- a/deployment_scripts/plumgrid_fabric.sh +++ b/deployment_scripts/plumgrid_fabric.sh @@ -15,6 +15,12 @@ #!/bin/bash +mkdir -p /var/log/plumgrid +exec > /var/log/plumgrid/plumgrid_fabric.log +exec 2>&1 + +set -x + . /tmp/plumgrid_config function check_and_replace() { diff --git a/deployment_scripts/post_pg_license.sh b/deployment_scripts/post_pg_license.sh index 6b8c87a..60f820a 100644 --- a/deployment_scripts/post_pg_license.sh +++ b/deployment_scripts/post_pg_license.sh @@ -15,6 +15,12 @@ #!/bin/bash +mkdir -p /var/log/plumgrid +exec > /var/log/plumgrid/post_license.log +exec 2>&1 + +set -x + . /tmp/plumgrid_config if [[ ! -f "/root/post_director" ]];then