From f1c6d150c7d5d27ce0ad952fce4bd16d27c7c25a Mon Sep 17 00:00:00 2001 From: Mohamed El-Serngawy Date: Fri, 1 Apr 2016 12:15:19 -0400 Subject: [PATCH] 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 --- tools/clustering/cluster-deployer/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.36.6