blob: e30d6472322e5b06276199e8818d9b89936819e1 [file] [log] [blame]
William A. Kennington III892e90b2020-06-01 15:29:29 -07001[Unit]
2Description=Commit image for update and reboot
3
4[Service]
5Type=oneshot
6ExecStart=/bin/mv /run/initramfs/bmc-image-verified /run/initramfs/image-bmc
7# This command is intentionally blocking to ensure this unit doesn't complete
8# before the BMC reboots.
9ExecStart=/usr/bin/systemctl start --job-mode=replace-irreversibly reboot.target