cni_ds_init: exec into the main process

This will make the right main process for the cni daemon
container to be reported.

Closes-Bug: 1792539

Change-Id: Ic57fbe20b7bf396ea92e0c2cbcca42814ae2a119
Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
(cherry picked from commit fa927d4890)
This commit is contained in:
Antoni Segura Puimedon 2018-09-14 10:44:39 +02:00 committed by Luis Tomas Bolivar
parent 55a9d40f3f
commit 1a55b6c07a
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ deploy
# Start CNI daemon if required
if [ "$CNI_DAEMON" == "True" ]; then
kuryr-daemon --config-file /etc/kuryr/kuryr.conf
exec kuryr-daemon --config-file /etc/kuryr/kuryr.conf
else
sleep infinity
exec sleep infinity
fi