summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-02-11 13:09:38 -0500
committerScott Moser <smoser@ubuntu.com>2010-02-11 13:09:38 -0500
commitc2039ded38064cb8b17fc242791e7f16e7f68f4d (patch)
tree7ce071c8ed8cddd778d1b17633cb24865c08cf1a /cloudinit
parent0435087c48264fda6bd9c3e01998849b2f70f685 (diff)
downloadvyos-cloud-init-c2039ded38064cb8b17fc242791e7f16e7f68f4d.tar.gz
vyos-cloud-init-c2039ded38064cb8b17fc242791e7f16e7f68f4d.zip
rename EC2Init class to CloudInit
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/CloudConfig.py2
-rw-r--r--cloudinit/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/CloudConfig.py b/cloudinit/CloudConfig.py
index e15d8f19..32e5c95b 100644
--- a/cloudinit/CloudConfig.py
+++ b/cloudinit/CloudConfig.py
@@ -32,7 +32,7 @@ class CloudConfig():
cfg = None
def __init__(self,cfgfile):
- self.cloud = cloudinit.EC2Init()
+ self.cloud = cloudinit.CloudInit()
self.cfg = self.get_config_obj(cfgfile)
self.cloud.get_data_source()
self.add_handler('apt-update-upgrade', self.h_apt_update_upgrade)
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 76aa34f0..65ca6d7f 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -44,7 +44,7 @@ import DataSourceEc2
import UserDataHandler
import util
-class EC2Init:
+class CloudInit:
datasource_map = {
"ec2" : DataSourceEc2.DataSourceEc2,
}