diff options
Diffstat (limited to 'deploy/daisy_server.py')
-rw-r--r-- | deploy/daisy_server.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |