mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-29 20:09:31 +00:00
Support bionic in Docker
This commit is contained in:
parent
4f1efbb521
commit
7c7cfd1cbf
8 changed files with 5 additions and 2 deletions
10
support/docker/ubuntu/bionic/dev/setup.sh
Executable file
10
support/docker/ubuntu/bionic/dev/setup.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
if ! grep "pgwtun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap add name pgwtun mode tun
|
||||
fi
|
||||
ip addr del 45.45.0.1/16 dev pgwtun 2> /dev/null
|
||||
ip addr add 45.45.0.1/16 dev pgwtun
|
||||
ip addr del cafe::1/64 dev pgwtun 2> /dev/null
|
||||
ip addr add cafe::1/64 dev pgwtun
|
||||
ip link set pgwtun up
|
||||
Loading…
Add table
Add a link
Reference in a new issue