mirror of https://github.com/sipwise/ec2-tools.git
When triggering 'sudo reboot' it fails with: | System has not been booted with systemd as init system (PID 1). Can't operate. We need to reboot the system though to get a functional system we can ran tests against. Quoting halt(8): | -f, --force | | Force immediate halt, power-off, or reboot. When | specified once, this results in an immediate but clean | shutdown by the system manager. When specified twice, | this results in an immediate shutdown without | contacting the system manager. See the description of | --force in systemctl(1) for more details. Quoting systemctl(1): | -f, --force | | [...] | When used with halt, poweroff, reboot or kexec, | execute the selected operation without shutting down | all units. However, all processes will be killed | forcibly and all file systems are unmounted or | remounted read-only. This is hence a drastic but | relatively safe option to request an immediate reboot. Change-Id: Ic3dbadb81fe91540ee4d53d48bdb9e7d8bb6668cchanges/30/21030/1
parent
b581035bf4
commit
c23bc372d0
Loading…
Reference in new issue