#!/bin/bash LOGFILE=/var/log/node-join.log echo "Starting node-join script..." | tee -a $LOGFILE