summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorJoshua McKenty <jmckenty@joshua-mckentys-macbook-pro.local>2010-07-07 12:15:11 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2010-07-07 12:15:11 -0700
commitdbe324f7254dd3e01de44bb908150fb8397fe118 (patch)
tree7b2949e0f04402f936553622b2c84e682476ac25 /nova/utils.py
parentb7ea2f70581f6acd927ea7b65adaffeeb4b8d2ba (diff)
downloadnova-dbe324f7254dd3e01de44bb908150fb8397fe118.tar.gz
nova-dbe324f7254dd3e01de44bb908150fb8397fe118.tar.xz
nova-dbe324f7254dd3e01de44bb908150fb8397fe118.zip
Got dhcpleasor working, with test ENV for testing, and rpc.cast for real world.
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/utils.py b/nova/utils.py
index cbfdd835d..62ad00aec 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -48,11 +48,9 @@ def fetchfile(url, target):
execute("curl %s -o %s" % (url, target))
def execute(cmd, input=None, addl_env=None):
- #logging.debug("Running %s" % (cmd))
env = os.environ.copy()
if addl_env:
env.update(addl_env)
- logging.debug(env)
obj = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
result = None