X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2F2genesis.sh;h=5f763113bf92c695d3b4e8ccc4d292330b25d077;hb=f063223e726367835d4f2a9a211bf5a835ca6dd2;hp=59d9932fd24091cb994cd867b10045f06237cbf7;hpb=a3163ede73e8cbda4d6ffa5b14f5e2abcbb9e585;p=yaml_builds.git diff --git a/tools/2genesis.sh b/tools/2genesis.sh index 59d9932..5f76311 100755 --- a/tools/2genesis.sh +++ b/tools/2genesis.sh @@ -15,7 +15,7 @@ # limitations under the License. # ############################################################################## -set -x +set -xe TIMESTAMP=$(date +"%Y%m%d%H%M") echo "Logging to /var/log/yaml_builds/2genesis_$TIMESTAMP.log" mkdir -p /var/log/yaml_builds @@ -45,7 +45,7 @@ source $(dirname $0)/env_$SITE.sh cd $YAML_BUILDS # Install OS on Genesis python $YAML_BUILDS/scripts/jcopy.py $SITE.yaml $YAML_BUILDS/tools/j2/serverrc.j2 $YAML_BUILDS/tools/"$GENESIS_NAME"rc -/opt/akraino/tools/install_server_os.sh --rc /opt/akraino/yaml_builds/tools/"$GENESIS_NAME"rc --skip-confirm +/opt/akraino/redfish/install_server_os.sh --rc /opt/akraino/yaml_builds/tools/"$GENESIS_NAME"rc --skip-confirm scp $YAML_BUILDS/tars/promenade-bundle-$SITE.tar $GENESIS_HOST:/tmp/ ssh $GENESIS_HOST << EOF