Merge "Remove unnecessary check after removing libvirt rpm dependencies"
This commit is contained in:
commit
489d41dac9
|
@ -954,12 +954,6 @@ outputs:
|
|||
- resume_guests_state_on_host_boot_enabled|bool
|
||||
- container_cli == 'podman'
|
||||
block:
|
||||
- name: make sure default libvirt-guests is disabled
|
||||
systemd:
|
||||
name: libvirt-guests
|
||||
enabled: no
|
||||
masked: yes
|
||||
daemon_reload: yes
|
||||
- name: libvirt-guests unit to stop nova_compute container before shutdown VMs
|
||||
copy:
|
||||
dest: /etc/systemd/system/tripleo_nova_libvirt_guests.service
|
||||
|
@ -975,8 +969,8 @@ outputs:
|
|||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
||||
ExecStart=/usr/bin/podman exec nova_libvirt /bin/rm -f /var/lib/libvirt/libvirt-guests
|
||||
ExecStop=/usr/bin/podman exec nova_libvirt /bin/sh -x /usr/libexec/libvirt-guests.sh shutdown
|
||||
ExecStart=/bin/{{container_cli}} exec nova_libvirt /bin/rm -f /var/lib/libvirt/libvirt-guests
|
||||
ExecStop=/bin/{{container_cli}} exec nova_libvirt /bin/sh -x /usr/libexec/libvirt-guests.sh shutdown
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=journal+console
|
||||
|
|
Loading…
Reference in New Issue