From c7beabc56cb08fe642d80d78d344ec2b039ca425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 10 Feb 2015 14:20:04 +0100 Subject: [PATCH 2/4] agent: assume the management command will find its settings --- hobo/agent/services.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hobo/agent/services.py b/hobo/agent/services.py index 896a63b..4e59afc 100644 --- a/hobo/agent/services.py +++ b/hobo/agent/services.py @@ -53,8 +53,7 @@ class BaseService(object): def execute(self, environment): domain = urlparse.urlparse(self.base_url).netloc.split(':')[0] cmd_process = subprocess.Popen(self.service_manage_cmd + ' create_tenant ' + domain, - shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - env={self.service_settings_env: self.service_settings_file}) + shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE) stdout = cmd_process.communicate() -- 2.1.4