I'm trying to write a script which includes rebooting the node, and then would continue to process (see below). While the reboot is successful, the script ends up returning an error stating "Connection Refused" and doesn't change the system note to "test note 2". Is there a way to have a script reconnect after a reboot and continue processing? It doesn't seem to be waiting 240 seconds before it returns the error.
My example script:
/system note set note="test note 1"
${Reboot}
${Delay:240}
/system note set note="test note 2"