Merge "Making sure virt-guest-shutdown.target exists" into stable/ussuri

This commit is contained in:
Zuul 2021-01-28 00:09:12 +00:00 committed by Gerrit Code Review
commit 26b923d703
1 changed files with 14 additions and 0 deletions

View File

@ -1037,6 +1037,13 @@ outputs:
[Install]
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
systemd:
name: libvirt-guests
@ -1071,6 +1078,13 @@ outputs:
[Install]
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
systemd:
name: tripleo_nova_libvirt_guests