kayobe/dev/ovs-vsctl
Will Szumski 988a822259 Add podman support
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
2025-01-27 16:42:33 +00:00

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 "$@"