Skip to content

Commit

Permalink
hotfix for missing upf config in open5gs bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
eatsan committed Jan 24, 2022
1 parent 8d1aedd commit 3f8679b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vagrant/
*.pcap
*.log
2 changes: 1 addition & 1 deletion shell-provisioners/bootstrap-open5gs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ else
echo "No need to reconfigure AMF config. Skipping..."
fi

if [ ! -f /etc/open5gs/amf.yaml.bkp ]
if [ ! -f /etc/open5gs/upf.yaml.bkp ]
then
cp /etc/open5gs/upf.yaml /etc/open5gs/upf.yaml.bkp
ip_private=$1 yq eval '.upf.gtpu[0].addr=env(ip_private)' -i -I4 /etc/open5gs/upf.yaml
Expand Down
2 changes: 2 additions & 0 deletions shell-provisioners/bootstrap-ueransim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ nc -zvu $2 2152

echo "----- Compile & Install UERANSIM ------"
apt-get update
apt-get upgrade

apt-get install -y make gcc g++ libsctp-dev lksctp-tools iproute2 screen
snap install cmake --classic
cd /home/vagrant
Expand Down

0 comments on commit 3f8679b

Please sign in to comment.