diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-07-11 22:49:36 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-07-11 22:49:36 -0400 |
commit | 29303d3bd372ab8cf711a59a580f3373c6f42254 (patch) | |
tree | 99a7af08b929288ea8eb8edf5900231f1ba669c5 /cloudinit/util.py | |
parent | e90670e879cdd102e91f6b4c1909992ceb89fc7e (diff) | |
download | vyos-cloud-init-29303d3bd372ab8cf711a59a580f3373c6f42254.tar.gz vyos-cloud-init-29303d3bd372ab8cf711a59a580f3373c6f42254.zip |
do not capture runparts output
runparts output was being captured. This meant that output of user-scripts
was being captured and not sent to stdout (console).
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r-- | cloudinit/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py index aaad2fb0..eb0b088a 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -560,7 +560,7 @@ def runparts(dirp, skip_no_exist=True): if os.path.isfile(exe_path) and os.access(exe_path, os.X_OK): attempted.append(exe_path) try: - subp([exe_path]) + subp([exe_path], capture=False) except ProcessExecutionError as e: logexc(LOG, "Failed running %s [%s]", exe_path, e.exit_code) failed.append(e) |