Skip to content

Commit 5fc66d9

Browse files
authored
Merge pull request #474 from stackhpc/2024.1-2127170
neutron: keepalived wrapper script does not rm containers
2 parents 570b197 + 61fc13d commit 5fc66d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/neutron/neutron-base/keepalived

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LIST=$($CLI ps -a --filter name=${KOLLA_SERVICE}_keepalived_ --format '{{.ID}}:{
3030
printf "%s\n" "${LIST}" | grep -q "${NAME}$" && NAME="${NAME}_$(date +%Y-%m-%d-%H%M%S-%N)"
3131

3232
echo "Starting a new child container ${NAME} using image ${KOLLA_IMAGE}"
33-
$CLI run --detach \
33+
$CLI run --rm --detach \
3434
-v /etc/kolla/${KOLLA_SERVICE_NAME}:/etc/neutron:ro \
3535
-v /lib/modules:/lib/modules:ro \
3636
-v /sbin/modprobe:/sbin/modprobe:ro \

0 commit comments

Comments
 (0)