Merge "Making sure virt-guest-shutdown.target exists"

This commit is contained in:
Zuul 2021-01-21 10:42:18 +00:00 committed by Gerrit Code Review
commit 5e74ce583b

View File

@ -1091,6 +1091,13 @@ outputs:
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
- name: Making sure virt-guest-shutdown.target is present
copy:
dest: /etc/systemd/system/virt-guest-shutdown.target
content: |
[Unit]
Description=Libvirt guests shutdown
Documentation=https://libvirt.org
- name: libvirt-guests enable VM shutdown on compute reboot/shutdown - name: libvirt-guests enable VM shutdown on compute reboot/shutdown
systemd: systemd:
name: libvirt-guests name: libvirt-guests
@ -1125,6 +1132,13 @@ outputs:
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
- name: Making sure virt-guest-shutdown.target is present
copy:
dest: /etc/systemd/system/virt-guest-shutdown.target
content: |
[Unit]
Description=Libvirt guests shutdown
Documentation=https://libvirt.org
- name: tripleo_nova_libvirt_guests enable VM shutdown on compute reboot/shutdown - name: tripleo_nova_libvirt_guests enable VM shutdown on compute reboot/shutdown
systemd: systemd:
name: tripleo_nova_libvirt_guests name: tripleo_nova_libvirt_guests