Rebooting Ubuntu 22.04.3 LTS install on a Wyse 3040 frequently results in a shutdown not a reboot.
Linux wyse1 5.15.0-82-generic #91-Ubuntu SMP Mon Aug 14 14:14:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Running Ubuntu 22.04 on Wyse 3040 I found the best chance of getting it to reboot was the below procedure.
I removed cloud init because it seemed to delay startup to about a minute after I got a login prompt.
It doesn’t reboot successfully if it hasn’t finished boot up. So check it has finished boot up.
I was suspiscious that doing an
sudo reboot wasn’t working either so I
sudo su - up to root and then rebooted.
# remove cloud init apt-get purge cloud-init # to reboot # check all the systemd startup processes are running sudo systemctl is-system-running --wait sudo su - # as root reboot # or shutdown -r now