From f3d0fa0b4df167cbed32335eb77b7293b31e91b2 Mon Sep 17 00:00:00 2001 From: keyz182 Date: Sat, 28 May 2011 01:44:00 +0100 Subject: changed config key name --- cloudinit/DataSourceEc2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/DataSourceEc2.py') diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py index bb0b015a..786ab78f 100644 --- a/cloudinit/DataSourceEc2.py +++ b/cloudinit/DataSourceEc2.py @@ -114,7 +114,7 @@ class DataSourceEc2(DataSource.DataSource): addresslist = ["http://169.254.169.254:80", "http://instance-data:8773"] try: - addresslist = mcfg.get("metadata_url", addresslist) + addresslist = mcfg.get("metadata_urls", addresslist) except Exception as e: util.logexc(log) log.warning("Failed to get metadata URLs, using defaults") -- cgit v1.2.3