
Adds support for Podman as an alternative container engine. This builds on the support added in kolla-ansible in the 2023.2 cycle. Change-Id: I2c6befbdda7e684228065103feea7250a0ea3826
10 lines
214 B
Bash
Executable File
10 lines
214 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CONTAINER_ENGINE="docker"
|
|
|
|
if sudo podman inspect openvswitch_vswitchd >/dev/null 2>&1; then
|
|
CONTAINER_ENGINE="podman"
|
|
fi
|
|
|
|
sudo ${CONTAINER_ENGINE} exec openvswitch_vswitchd ovs-vsctl "$@"
|