summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-24 21:37:20 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-24 21:37:20 +0900
commit2ff41b0f57def5f7cd98a2febd0c79fb142edae3 (patch)
tree8002086aa25a998c86bc9b5546dd5b271faa0379 /tools
parent3322141fc1c7929011eb04ff3f2fb8b679147f82 (diff)
tools: fix route-server-docker.sh
needs sudo for some. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/route-server/route-server-docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/route-server/route-server-docker.sh b/tools/route-server/route-server-docker.sh
index 60cbf6d7..ba525be0 100755
--- a/tools/route-server/route-server-docker.sh
+++ b/tools/route-server/route-server-docker.sh
@@ -85,9 +85,9 @@ case "$1" in
sudo chmod 755 /usr/local/bin/pipework
sudo docker pull osrg/quagga
sudo docker pull osrg/gobgp
- mkdir /usr/local/gobgp
+ sudo mkdir /usr/local/gobgp
sudo docker run --privileged=true -v /usr/local/gobgp:/mnt --name gobgp -id osrg/gobgp go run /root/gobgp/tools/route-server/quagga-rsconfig.go -c /mnt
- docker rm -f gobgp
+ sudo docker rm -f gobgp
;;
*)
echo $1