Skip to content

Commit

Permalink
add CMD to start gobgpd
Browse files Browse the repository at this point in the history
  • Loading branch information
sever-sever committed Dec 17, 2023
1 parent 8049cb2 commit 717ed28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions containers/gobgp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ RUN wget https://github.com/osrg/gobgp/releases/download/v3.21.0/gobgp_3.21.0_li
&& mv /tmp/gobgp /tmp/gobgpd /usr/local/bin/ \
&& rm -rf /tmp/*

CMD gobgpd --config-file=/opt/gobgp/bgp.conf
2 changes: 1 addition & 1 deletion containers/gobgp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gobgp container in VyOS

Build container
Build container:
```shell
sudo podman build --net host --tag gobgp:one -f ./Dockerfile
```
Expand Down
2 changes: 1 addition & 1 deletion containers/gobgp/conf/bgp.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[global.config]
as = 65001
router-id = "10.0.0.3"
router-id = "10.0.0.2"

[[neighbors]]
[neighbors.config]
Expand Down

0 comments on commit 717ed28

Please sign in to comment.