-BACKUP_BOOT_SERVER=`cat $BOOT_DIR/backup/boot_server`
-BACKUP_BOOT_SERVER_PORT=`cat $BOOT_DIR/backup/boot_server_port`
+BACKUP_BOOT_SERVER=$(cat $BOOT_DIR/backup/boot_server)
+BACKUP_BOOT_SERVER_PORT=$(cat $BOOT_DIR/backup/boot_server_port)
# location of the cacert for the backup boot server
BACKUP_BOOT_SERVER_CACERT=$BOOT_DIR/backup/cacert.pem
# location of the cacert for the backup boot server
BACKUP_BOOT_SERVER_CACERT=$BOOT_DIR/backup/cacert.pem
- if [[ $on_backup_server == 1 ]]; then
- echo $(date "+%H:%M:%S") " pl_boot: attempting to fetch script from backup server in 30s"
- else
- echo $(date "+%H:%M:%S") " pl_boot: attempting to fetch script from primary server in 30s"
- fi
+ echo $(date "+%H:%M:%S") " pl_boot: next attempt in 30s, to fetch script from server at $CONNECT_BOOT_SERVER"
echo $(date "+%H:%M:%S") " we recommend checking your DNS settings. If you cannot, then "
echo $(date "+%H:%M:%S") " please double check your network settings registered at PLC and "
echo $(date "+%H:%M:%S") " stored on this Boot Image."
echo $(date "+%H:%M:%S") " we recommend checking your DNS settings. If you cannot, then "
echo $(date "+%H:%M:%S") " please double check your network settings registered at PLC and "
echo $(date "+%H:%M:%S") " stored on this Boot Image."
echo $(date "+%H:%M:%S") " to GMT. The result is that authentication between the local and "
echo $(date "+%H:%M:%S") " remote site fails. Please double check this machine's system "
echo $(date "+%H:%M:%S") " clock, and set it to GMT in the BIOS. If after rebooting the same "
echo $(date "+%H:%M:%S") " to GMT. The result is that authentication between the local and "
echo $(date "+%H:%M:%S") " remote site fails. Please double check this machine's system "
echo $(date "+%H:%M:%S") " clock, and set it to GMT in the BIOS. If after rebooting the same "