Hide Forgot
Description of problem: When attempting to run the bootstrap.sh script generated by Satellite on the local satellite server, from the /var/www/html/pub/bootstrap/ directory, the script will delete the client_config_update.py file from the directory. Version-Release number of selected component (if applicable): 5.4.1 How reproducible: Any time the generated bootstrap.sh script is run from its installation directory of /var/www/html/pub/bootstrap/ Steps to Reproduce: 1. Generate the bootstrap file from the Satellite admin interface. 2. On the Satellite server locally: cd /var/www/html/pub/bootstrap 3. Edit the bootstrap.sh file to include the activation key and comment out the exit command 3. bash ./bootstrap.sh Actual results: Local client_config_update.py file is deleted, and script fails. Expected results: Script executes normally, registering the local system with the activation key. Additional info: From the bootstrap.sh file: echo "UPDATING RHN_REGISTER/UP2DATE CONFIGURATION FILES" echo "-------------------------------------------------" echo "* downloading necessary files" echo " client_config_update.py..." rm -f client_config_update.py <--local file is deleted $FETCH ${HTTPS_PUB_DIRECTORY}/bootstrap/client_config_update.py <--download of file is to PWD