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>
This commit is contained in:
Antoni Segura Puimedon 2018-09-14 10:44:39 +02:00
parent 7a8bd050c1
commit fa927d4890
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