@TECNI.sistemas , I ran that bash script every second and I failed to notice the status change (if it happened). Do you think it would be reliable to depend on a crontab every minute to capture the reboot ?
That is the case, exactly @dcsapak. Is there a way to detect a VM reboot on the host, if...