diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-07-15 11:48:34 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-07-15 11:48:34 -0400 |
commit | ed3f86d5e459b9a76f73630e8072578cfe9d8fc3 (patch) | |
tree | 52aaecc4995e554ba5a0f782a256c2fe294731a7 | |
parent | 9df86b07688b73bc3179a6b6bb596a1eed069333 (diff) | |
download | vyos-cloud-init-ed3f86d5e459b9a76f73630e8072578cfe9d8fc3.tar.gz vyos-cloud-init-ed3f86d5e459b9a76f73630e8072578cfe9d8fc3.zip |
use debug rather than error on cloud-init-run-module "already ran"
-rwxr-xr-x | cloud-init-run-module.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cloud-init-run-module.py b/cloud-init-run-module.py index 1877ab2c..3e62f007 100755 --- a/cloud-init-run-module.py +++ b/cloud-init-run-module.py @@ -44,7 +44,9 @@ def main(): fail("Failed to get instance data\n\t%s" % traceback.format_exc(),log) if cloud.sem_has_run(semname,freq): - err("%s already ran %s" % (semname,freq),log) + msg="%s already ran %s" % (semname,freq) + sys.stderr.write("%\n" % msg) + log.debug(msg) sys.exit(0) try: |