Skip to content

Commit 93f4192

Browse files
committed
Merge branch 'demo' of https://github.com/contiv/netplugin into demo
2 parents 457afa4 + 18357fc commit 93f4192

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/start-swarm.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ echo "starting netplugin"
3030
nohup /opt/gopath/bin/netplugin -native-integration=true > /tmp/netplugin.log 2>&1 &
3131

3232
if [[ $mode == "master" ]]; then
33+
echo "starting netmaster"
34+
#start netmaster
35+
nohup /opt/gopath/bin/netmaster > /tmp/netmaster.log 2>&1 &
36+
37+
unset http_proxy
38+
unset https_proxy
3339
echo "starting swarm manager"
3440
# Start swarm manager
3541
nohup /usr/bin/swarm manage -H tcp://$node_addr:2375 etcd://localhost:2379 > /tmp/swarm-manage.log 2>&1 &
3642

37-
echo "starting netmaster"
38-
#start netmaster
39-
nohup /opt/gopath/bin/netmaster > /tmp/netmaster.log 2>&1 &
4043
fi

0 commit comments

Comments
 (0)