From d648be03ecad23d4111412fdd2baa369af88bcc2 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 19 Jul 2018 17:24:22 -0700 Subject: Add safe shutdown systemd jobs to tools Without these jobs, a compute node that is rebooted or powered off may violently kill off the VMs running inside of it. This has been kept separate from the main portion of kolla-ansible since no current role modifies the systemd jobs of the system. Change-Id: I0a4424f97b5ad872ff0398258c1dc42d31d0ef07 --- tools/virt-guest-shutdown.target | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/virt-guest-shutdown.target (limited to 'tools/virt-guest-shutdown.target') diff --git a/tools/virt-guest-shutdown.target b/tools/virt-guest-shutdown.target new file mode 100644 index 000000000..7510cfec3 --- /dev/null +++ b/tools/virt-guest-shutdown.target @@ -0,0 +1,5 @@ +[Unit] +Description=Coordination target for machined controlled guests + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3