summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-06-18 00:42:10 -0400
committerScott Moser <smoser@ubuntu.com>2010-06-18 00:42:10 -0400
commit122903f98be12d649e99e78a41f3835dd57c70b1 (patch)
tree8725685d5d6eeecab74265d3888173e2f35ae26e
parent9b1f260f2ba305da9405d88867fec4f0e838681e (diff)
downloadvyos-cloud-init-122903f98be12d649e99e78a41f3835dd57c70b1.tar.gz
vyos-cloud-init-122903f98be12d649e99e78a41f3835dd57c70b1.zip
change debug messages in DataSourceEc2
-rw-r--r--cloudinit/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index 1094b8a6..6e60b67a 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -40,7 +40,6 @@ class DataSourceEc2(DataSource.DataSource):
def get_data(self):
try:
- cloudinit.log.info("looking at %s/user-data.raw" % self.cachedir)
udf = open(self.cachedir + "/user-data.raw")
self.userdata_raw = udf.read()
udf.close()
@@ -50,6 +49,7 @@ class DataSourceEc2(DataSource.DataSource):
self.metadata = eval(data)
mdf.close()
+ cloudinit.log.debug("using seeded ec2 cache data" % self.cachedir)
return True
except:
pass