diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-24 21:37:20 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-24 21:37:20 +0900 |
commit | 2ff41b0f57def5f7cd98a2febd0c79fb142edae3 (patch) | |
tree | 8002086aa25a998c86bc9b5546dd5b271faa0379 /tools/route-server | |
parent | 3322141fc1c7929011eb04ff3f2fb8b679147f82 (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/route-server')
-rwxr-xr-x | tools/route-server/route-server-docker.sh | 4 |
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 |