warm-reboot: add in new targets
These targets will be used to implement the new Host transitions defined
in the following design doc:
https://github.com/openbmc/docs/blob/master/designs/state-management-and-external-interfaces.md
They provide the capability to reboot the host without cycling power to
the chassis. This makes reboots faster and can enable other features
where chassis power is needed to preserve certain aspects of the host
state.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I2d0ed226dea05bb4dbf194d04343c82f89316f33
diff --git a/target_files/obmc-host-warm-reboot@.target b/target_files/obmc-host-warm-reboot@.target
new file mode 100644
index 0000000..2f8996c
--- /dev/null
+++ b/target_files/obmc-host-warm-reboot@.target
@@ -0,0 +1,8 @@
+[Unit]
+# This will perform a graceful restart of the host while keeping the chassis
+# power on
+Description=Graceful Warm Reboot Host%i
+Wants=multi-user.target
+After=multi-user.target
+Conflicts=obmc-host-startmin@%i.target
+RefuseManualStop=yes