X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2F2genesis.sh;h=70c3ba281773a01bed4c39e5bf14839aae9f15a0;hb=b01cd219b0aee55be2e18ef9b66cd58b2c89134a;hp=dca7c9146c058f4f61807c0d2ec0333f43e79449;hpb=4c341d3fc54fec7b62269da3390fd0f5d8f779ce;p=yaml_builds.git diff --git a/tools/2genesis.sh b/tools/2genesis.sh index dca7c91..70c3ba2 100755 --- a/tools/2genesis.sh +++ b/tools/2genesis.sh @@ -45,6 +45,9 @@ source $(dirname $0)/env_$SITE.sh cd $YAML_BUILDS +echo "# Setup redfish tools to avoid race condition" +/opt/akraino/redfish/setup_tools.sh + FILENAME=$(mktemp) echo "# Updating BIOS settings on master and worker nodes in background [$FILENAME]" python $YAML_BUILDS/scripts/update_bios_settings.py $SITE.yaml >$FILENAME & @@ -63,6 +66,9 @@ ssh $GENESIS_HOST << EOF cp /tmp/promenade-bundle-$SITE.tar . tar -xmf promenade-bundle-$SITE.tar mv configs/promenade-bundle/deploy_site.sh . + mv configs/promenade-bundle/update_software.sh . + mv configs/promenade-bundle/openrc . + cp configs/run_openstack_cli.sh /usr/local/bin/openstack EOF echo "# Waiting for BIOS updates to finish on master and worker nodes"