From: Mohamed El-Serngawy Date: Fri, 1 Apr 2016 16:15:19 +0000 (-0400) Subject: Adding -o option to unzip odl steps in the deploy.py script, X-Git-Tag: release/lithium-sr4~65 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=f1c6d150c7d5d27ce0ad952fce4bd16d27c7c25a Adding -o option to unzip odl steps in the deploy.py script, without -o option the script keep waiting for interrupt and didn't proceed. Change-Id: I9a45cb1777148fa2b6e963d6697fa76aff836a07 Signed-off-by: Mohamed El-Serngawy --- diff --git a/tools/clustering/cluster-deployer/deploy.py b/tools/clustering/cluster-deployer/deploy.py index a885da5c74..6de9feabe0 100755 --- a/tools/clustering/cluster-deployer/deploy.py +++ b/tools/clustering/cluster-deployer/deploy.py @@ -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