Skip to content
Snippets Groups Projects
Commit 5123d46f authored by Nelson Oliveira's avatar Nelson Oliveira
Browse files

Minor fix on script of OAI Core install

parent bb975d94
No related branches found
No related tags found
No related merge requests found
...@@ -55,10 +55,13 @@ sudo docker image tag oaisoftwarealliance/oai-ausf:v1.5.0 oai-ausf:v1.5.0 ...@@ -55,10 +55,13 @@ sudo docker image tag oaisoftwarealliance/oai-ausf:v1.5.0 oai-ausf:v1.5.0
sudo docker image tag oaisoftwarealliance/oai-spgwu-tiny:v1.5.0 oai-spgwu-tiny:v1.5.0 sudo docker image tag oaisoftwarealliance/oai-spgwu-tiny:v1.5.0 oai-spgwu-tiny:v1.5.0
## Clone OpenAirInterface 5G Core ## Remove OpenAirInterface 5G Core if directory exists
if [ -d "$WORK_DIR/oai-cn5g-fed" ]; then if [ -d "$WORK_DIR/oai-cn5g-fed" ]; then
sudo rm -r $WORK_DIR/oai-cn5g-fed sudo rm -r $WORK_DIR/oai-cn5g-fed
fi fi
## Clone OpenAirInterface 5G Core
cd $WORK_DIR
git clone https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed.git git clone https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed.git
cd $WORK_DIR/oai-cn5g-fed cd $WORK_DIR/oai-cn5g-fed
git checkout -f v1.5.0 git checkout -f v1.5.0
...@@ -82,4 +85,4 @@ sudo python3 core-network.py --type start-basic --scenario 1 ...@@ -82,4 +85,4 @@ sudo python3 core-network.py --type start-basic --scenario 1
## Docker post-installation ## Docker post-installation
# Enabling current user to run docker commands # Enabling current user to run docker commands
sudo usermod -aG docker $USER sudo usermod -aG docker $USER
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment