X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=tools%2Fclustering%2Fcluster-deployer%2Frestart.py;h=48bfa903e693fb8c9f59e9f7d39944ecab37c528;hp=d02a76df25c1bf44600ba6a7bbbffe5ba5231bbe;hb=a556b1c880243c5421fbd5fb75b99c01a31c37bd;hpb=59e81c38620fa1b61e15771191e35771450b9499 diff --git a/tools/clustering/cluster-deployer/restart.py b/tools/clustering/cluster-deployer/restart.py old mode 100644 new mode 100755 index d02a76df25..48bfa903e6 --- a/tools/clustering/cluster-deployer/restart.py +++ b/tools/clustering/cluster-deployer/restart.py @@ -1,4 +1,4 @@ -# #!/usr/local/bin/python +#!/usr/bin/env python # # This script restarts the cluster nodes. It can optionally cleanup the persistent data. # -------------------------------------------------------------------------------------- @@ -34,4 +34,5 @@ def main(): remote.exec_cmd("rm -rf " + args.rootdir + "/deploy/current/odl/snapshots") remote.start_controller(args.rootdir + "/deploy/current") + main()