summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceEc2.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-24 21:28:36 -0500
committerScott Moser <smoser@ubuntu.com>2011-01-24 21:28:36 -0500
commit2b94f4428f669defbebf0be720d83452c553e8d6 (patch)
tree4e79feafb2db1b1ad3d57d5c55015104428a27f2 /cloudinit/DataSourceEc2.py
parent0ef850f81aa3f652ecf1e869ad0de622695782d8 (diff)
parent10d4048677a90ab66ab4a314f311163b6e6d9cf1 (diff)
downloadvyos-cloud-init-2b94f4428f669defbebf0be720d83452c553e8d6.tar.gz
vyos-cloud-init-2b94f4428f669defbebf0be720d83452c553e8d6.zip
add support for redirecting output of cloud-init, cloud-config and cloud-final
minor change to timestamps to all use gmtime()
Diffstat (limited to 'cloudinit/DataSourceEc2.py')
-rw-r--r--cloudinit/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index fc8fac5a..1c0edc59 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -108,7 +108,7 @@ class DataSourceEc2(DataSource.DataSource):
cloudinit.log.warning("waiting for metadata service at %s\n" % url)
cloudinit.log.warning(" %s [%02s/%s]: %s\n" %
- (time.strftime("%H:%M:%S"), x+1, sleeps, reason))
+ (time.strftime("%H:%M:%S",time.gmtime()), x+1, sleeps, reason))
time.sleep(sleeptime)
cloudinit.log.critical("giving up on md after %i seconds\n" %