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:
parent
7a8bd050c1
commit
fa927d4890
@ -44,7 +44,7 @@ deploy
|
|||||||
|
|
||||||
# Start CNI daemon if required
|
# Start CNI daemon if required
|
||||||
if [ "$CNI_DAEMON" == "True" ]; then
|
if [ "$CNI_DAEMON" == "True" ]; then
|
||||||
kuryr-daemon --config-file /etc/kuryr/kuryr.conf
|
exec kuryr-daemon --config-file /etc/kuryr/kuryr.conf
|
||||||
else
|
else
|
||||||
sleep infinity
|
exec sleep infinity
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user