45337f0f68ec7ec4e44183884dde67e81163ec67 jcasper Mon Aug 26 16:07:20 2024 -0700 More updates for soe hostname deprecation, no ticket diff --git src/utils/qa/weeklybld/boxRelease.csh src/utils/qa/weeklybld/boxRelease.csh index 8f281d6..cc69d5d 100755 --- src/utils/qa/weeklybld/boxRelease.csh +++ src/utils/qa/weeklybld/boxRelease.csh @@ -1,68 +1,68 @@ #!/bin/tcsh #################### # Script to clean, zip and move the browserbox # Max Haeussler #################### if ( "$1" == "" ) then echo Please provide either alpha or beta as a parameter exit 0 endif set runCount=`ps aux | grep VBoxHeadless | grep -w 'browserbox' | wc -l` if ("$runCount" == "0") then VBoxHeadless -s browserbox & echo waiting for VM to boot... sleep 20 endif echo cleaning the box ssh box sudo /root/cleanVm.sh echo one final check that dsa keys should not be found on browserbox root ssh box sudo ls /root/.ssh/{id_dsa,id_dsa.pub} if ( $status != 2) then echo "DSA SSH KEYS FOUND. THIS IS SHOULD NOT HAPPEN!" exit 1 endif echo shutting down the box VBoxManage controlvm browserbox acpipowerbutton while (1) set runCount=`ps aux | grep VBoxHeadless | grep -w 'browserbox' | wc -l` if ("$runCount" == "0") then echo box has stopped break else echo box has not stopped yet, waiting... sleep 3 endif end cd ~/VirtualBox\ VMs/browserbox echo removing shared folders sed -i '/