Remove of RIC_INTERFACE lines that may be the cause of unexpected crash in e2term
This commit is contained in:
parent
b2c654518e
commit
edf7fe9e8d
@ -14,17 +14,6 @@ do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# get RIC interface from cli arguments
|
|
||||||
if [ $# -eq 0 ] || [ "$import" = false ] ; then
|
|
||||||
RIC_INTERFACE="col0"
|
|
||||||
else
|
|
||||||
if [ "$arena" = true ]; then
|
|
||||||
RIC_INTERFACE="brric"
|
|
||||||
else
|
|
||||||
RIC_INTERFACE=$1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
export SRC=`dirname $0`
|
export SRC=`dirname $0`
|
||||||
. $SRC/setup-lib.sh
|
. $SRC/setup-lib.sh
|
||||||
|
|
||||||
@ -175,9 +164,6 @@ EOF
|
|||||||
fi
|
fi
|
||||||
E2TERM_CONFIG_BIND="--mount type=bind,source=$E2TERMCONFFILE,destination=/opt/e2/config/config.conf,ro"
|
E2TERM_CONFIG_BIND="--mount type=bind,source=$E2TERMCONFFILE,destination=/opt/e2/config/config.conf,ro"
|
||||||
|
|
||||||
export RIC_IP=`ifconfig ${RIC_INTERFACE} | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*'`
|
|
||||||
|
|
||||||
|
|
||||||
if [ "$arena" = true ]; then
|
if [ "$arena" = true ]; then
|
||||||
echo 'Starting local setup'
|
echo 'Starting local setup'
|
||||||
# if both RIC and DU are executed on the same machine, do not set Docker NAT rules
|
# if both RIC and DU are executed on the same machine, do not set Docker NAT rules
|
||||||
|
Loading…
Reference in New Issue
Block a user