Adding -o option to unzip odl steps in the deploy.py script, 15/37015/2
authorMohamed El-Serngawy <melserngawy@inocybe.com>
Fri, 1 Apr 2016 16:15:19 +0000 (12:15 -0400)
committerJamo Luhrsen <jluhrsen@redhat.com>
Sat, 2 Apr 2016 00:24:11 +0000 (00:24 +0000)
without -o option the script keep waiting for interrupt and
didn't proceed.

Change-Id: I9a45cb1777148fa2b6e963d6697fa76aff836a07
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>
tools/clustering/cluster-deployer/deploy.py

index a885da5..6de9fea 100755 (executable)
@@ -204,7 +204,7 @@ class Deployer:
         # Copy the distribution to the host and unzip it
         odl_file_path = self.dir_name + "/odl.zip"
         self.remote.copy_file(self.distribution, odl_file_path)
-        self.remote.exec_cmd("unzip " + odl_file_path + " -d " +
+        self.remote.exec_cmd("unzip -o " + odl_file_path + " -d " +
                              self.dir_name + "/")
 
         # Rename the distribution directory to odl

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.