Introduction
There are times when your VM might be inaccessible and you would like to confirm if the VM has booted correctly.
Prerequisites
- Serial console
Solution
- Identify if the system booted correctly by using the command.
# systemctl is-system-running
- If the status returned by the above command is anything other than running, use the following command to determine the cause.
# journalctl -xb
Additional Resources
- Check the startup and shutdown lifecycle scripts to check if they are causing any of the boot issues. These scripts can be found in the following directory
# ls -al /usr/local/bin/crusoe/
- If you do not have serial console setup or would like to set it up for the VMs in the future, refer to the following article
How To Setup Serial Console