diff --git a/tools/xen/build_xva.sh b/tools/xen/build_xva.sh index c8721aa9d1..4eb4b9114e 100755 --- a/tools/xen/build_xva.sh +++ b/tools/xen/build_xva.sh @@ -104,7 +104,7 @@ sed -e "s,@BUILD_NUMBER@,$BUILD_NUMBER,g" -i $OVA cat <$STAGING_DIR/etc/rc.local # network restart required for getting the right gateway /etc/init.d/networking restart -GUEST_PASSWORD=$GUEST_PASSWORD STAGING_DIR=/ DO_TGZ=0 bash /opt/stack/devstack/tools/xen/prepare_guest.sh +GUEST_PASSWORD=$GUEST_PASSWORD STAGING_DIR=/ DO_TGZ=0 bash /opt/stack/devstack/tools/xen/prepare_guest.sh > /opt/stack/prepare_guest.log 2>&1 su -c "/opt/stack/run.sh > /opt/stack/run.sh.log" stack exit 0 EOF diff --git a/tools/xen/prepare_guest.sh b/tools/xen/prepare_guest.sh index 2f19b9d00c..77ce54a8d0 100644 --- a/tools/xen/prepare_guest.sh +++ b/tools/xen/prepare_guest.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -x + # Configurable nuggets GUEST_PASSWORD=${GUEST_PASSWORD:-secrete} STAGING_DIR=${STAGING_DIR:-stage}