diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-01-25 03:24:37 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-01-25 03:24:37 -0500 |
commit | 1fda22c4bb4dbda92fa3cce179934cd75cbdd48e (patch) | |
tree | a833ded5655517d301e1fa2404b50f0e96315077 /cloudinit/__init__.py | |
parent | 9fe2d933f374a581a661e5f8b138c0904f8f8a56 (diff) | |
download | vyos-cloud-init-1fda22c4bb4dbda92fa3cce179934cd75cbdd48e.tar.gz vyos-cloud-init-1fda22c4bb4dbda92fa3cce179934cd75cbdd48e.zip |
add initial ovf data source class
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r-- | cloudinit/__init__.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 9c02ff8a..2d4b8c87 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -103,18 +103,20 @@ def logging_set_from_cfg(cfg): import DataSourceEc2 import DataSourceNoCloud +import DataSourceOVF import UserDataHandler class CloudInit: datasource_map = { "ec2" : DataSourceEc2.DataSourceEc2, "nocloud" : DataSourceNoCloud.DataSourceNoCloud, - "nocloud-net" : DataSourceNoCloud.DataSourceNoCloudNet + "nocloud-net" : DataSourceNoCloud.DataSourceNoCloudNet, + "ovf" : DataSourceOVF.DataSourceOVF, } datasource = None auto_orders = { "all": ( "nocloud-net", "ec2" ), - "local" : ( "nocloud", ), + "local" : ( "nocloud", "ovf" ), } cfg = None part_handlers = { } |