From 3881f375b9ac87d9e5be636293d8f44d7d693b94 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 4 Jan 2018 20:14:29 +0100 Subject: [PATCH] syscontainer, rhel: read env variables from files Signed-off-by: Giuseppe Scrivano --- contrib/system_containers/rhel/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/system_containers/rhel/run.sh b/contrib/system_containers/rhel/run.sh index 5621a7ba..7f34fd42 100755 --- a/contrib/system_containers/rhel/run.sh +++ b/contrib/system_containers/rhel/run.sh @@ -5,4 +5,7 @@ PID=$$ LABEL=`tr -d '\000' < /proc/$PID/attr/current` printf %s $LABEL > /proc/self/attr/exec +test -e /etc/sysconfig/crio-storage && source /etc/sysconfig/crio-storage +test -e /etc/sysconfig/crio-network && source /etc/sysconfig/crio-network + exec /usr/bin/crio --log-level=$LOG_LEVEL