Trying to run a script after reboot.
Using a wait loop that checks host.runtime.connectionState.value = connected to determine when to move to the "run script" step.
However this fails because the host returns connected status before the OS is finished booting. Is there a better call/process to use to wait until the os has finished booting? I feel i am missing something rather simple.