From dc420d5d13308110e36313d1b88cbf7fa11b0378 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Thu, 20 Jul 2017 19:41:02 +0800 Subject: Sync some patches of bash script to python Change-Id: Ia1eb59e62b1bb98b1871ec591e2c925c1734cc2e Signed-off-by: Alex Yang --- deploy/daisy_server.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'deploy/daisy_server.py') diff --git a/deploy/daisy_server.py b/deploy/daisy_server.py index eb711afd..152bbe52 100644 --- a/deploy/daisy_server.py +++ b/deploy/daisy_server.py @@ -265,8 +265,7 @@ class DaisyServer(object): def post_deploy(self): LI('Post deploy ...') - cmd = 'export PYTHONPATH={python_path}; python {script} -nw {net_file}'.format( - python_path=self.remote_dir, - script=path_join(self.remote_dir, 'deploy/post/execute.py'), + cmd = 'bash {script} -n {net_file}'.format( + script=path_join(self.remote_dir, 'deploy/post.sh'), net_file=path_join(self.remote_dir, self.net_file_name)) self.ssh_run(cmd, check=False) -- cgit 1.2.3-korg