Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Making sure virt-guest-shutdown.target exists"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jan 21, 2021
2 parents 3fffea0 + 93b5c3a commit 5e74ce5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions deployment/nova/nova-compute-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,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
Expand Down Expand Up @@ -1125,6 +1132,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
Expand Down

0 comments on commit 5e74ce5

Please sign in to comment.