summaryrefslogtreecommitdiff
path: root/cloudinit/distros/__init__.py
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-21 08:38:12 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-21 08:38:12 -0700
commitf1cab0d88cbcfa7eaa698db7dcc252bb6543d6c0 (patch)
tree48ecd1dc9aacdd353d2d40e8617e40b87dd47288 /cloudinit/distros/__init__.py
parentf7e638f6f58188cd4be1921cb045608f3c00d9c4 (diff)
downloadvyos-cloud-init-f1cab0d88cbcfa7eaa698db7dcc252bb6543d6c0.tar.gz
vyos-cloud-init-f1cab0d88cbcfa7eaa698db7dcc252bb6543d6c0.zip
1. Move all info() logging methods to debug()
2. Adjust comment on sources list from depends 3. For the /etc/timezone 'writing', add a header that says created by cloud-init
Diffstat (limited to 'cloudinit/distros/__init__.py')
-rw-r--r--cloudinit/distros/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index e0ef6ee0..6325257c 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -133,14 +133,14 @@ class Distro(object):
raise NotImplementedError("Unknown interface action %s" % (action))
cmd = IFACE_ACTIONS[action]
try:
- LOG.info("Attempting to run %s interface action using command %s",
- action, cmd)
+ LOG.debug("Attempting to run %s interface action using command %s",
+ action, cmd)
(_out, err) = util.subp(cmd)
if len(err):
LOG.warn("Running %s resulted in stderr output: %s", cmd, err)
return True
except util.ProcessExecutionError:
- util.logexc(LOG, "Running %s failed", cmd)
+ util.logexc(LOG, "Running interface command %s failed", cmd)
return False