53e8b80ed3
This patch add a way to choose container engine inside tool and test scripts. This is in preparation for Podman introduction but still leaves Docker as default container engine. Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com> Change-Id: I395d2bdb0dfb4b325b6ad197c8893c8a0f768324
18 lines
529 B
Desktop File
18 lines
529 B
Desktop File
[Unit]
|
|
Description=Manage libvirt guests in kolla safely
|
|
After=systemd-machined.service
|
|
After=virt-guest-shutdown.target
|
|
Requires=virt-guest-shutdown.target
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
TimeoutStopSec=610
|
|
ExecStart=-/usr/bin/podman exec nova_libvirt /bin/rm -f /var/lib/libvirt/libvirt-guests
|
|
ExecStart=-/usr/bin/podman start nova_compute
|
|
ExecStop=/usr/bin/podman stop nova_compute
|
|
ExecStop=/usr/bin/podman exec nova_libvirt /bin/sh -x /usr/libexec/libvirt-guests.sh shutdown
|