diff --git a/contrib/system_containers/centos/run.sh b/contrib/system_containers/centos/run.sh index 5621a7ba..7f34fd42 100755 --- a/contrib/system_containers/centos/run.sh +++ b/contrib/system_containers/centos/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 diff --git a/contrib/system_containers/fedora/run.sh b/contrib/system_containers/fedora/run.sh index 5621a7ba..7f34fd42 100755 --- a/contrib/system_containers/fedora/run.sh +++ b/contrib/system_containers/fedora/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 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