aboutsummaryrefslogtreecommitdiff
path: root/tools/virt-guest-shutdown.target
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2018-07-19 17:24:22 -0700
committerAdam Harwell <flux.adam@gmail.com>2018-07-21 00:43:50 +0000
commitd648be03ecad23d4111412fdd2baa369af88bcc2 (patch)
tree6cbe1cf7401d999a54b53f6522dac9967be7a5d6 /tools/virt-guest-shutdown.target
parent97dcee4c98a63d4b1656a3c813a2f021395a95f1 (diff)
downloadkolla-ansible-d648be03ecad23d4111412fdd2baa369af88bcc2.tar.gz
kolla-ansible-d648be03ecad23d4111412fdd2baa369af88bcc2.zip
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
Diffstat (limited to 'tools/virt-guest-shutdown.target')
-rw-r--r--tools/virt-guest-shutdown.target5
1 files changed, 5 insertions, 0 deletions
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