summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOpenStack.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-02-07 16:34:04 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-02-07 16:34:04 -0800
commitf9582464b157ffb0087b18910af11aa6ed49abcd (patch)
treecf60c16e5eb2f0333b6662188292d180b6722132 /cloudinit/sources/DataSourceOpenStack.py
parent2983a26ecf9716dc957ec4bacf15544072774190 (diff)
downloadvyos-cloud-init-f9582464b157ffb0087b18910af11aa6ed49abcd.tar.gz
vyos-cloud-init-f9582464b157ffb0087b18910af11aa6ed49abcd.zip
Add a bunch of new tests
Diffstat (limited to 'cloudinit/sources/DataSourceOpenStack.py')
-rw-r--r--cloudinit/sources/DataSourceOpenStack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOpenStack.py b/cloudinit/sources/DataSourceOpenStack.py
index 44889f4e..621572de 100644
--- a/cloudinit/sources/DataSourceOpenStack.py
+++ b/cloudinit/sources/DataSourceOpenStack.py
@@ -121,7 +121,8 @@ class DataSourceOpenStack(openstack.SourceMixin, sources.DataSource):
'Crawl of openstack metadata service',
read_metadata_service,
args=[self.metadata_address],
- kwargs={'ssl_details': self.ssl_details})
+ kwargs={'ssl_details': self.ssl_details,
+ 'version': openstack.OS_LATEST})
except openstack.NonReadable:
return False
except openstack.BrokenMetadata: