diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-09-10 16:00:00 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-09-10 16:00:00 -0400 |
commit | 44113217719ebee756325b40a5d14045ba8f3a3a (patch) | |
tree | b8b57a2fe2a87d654dc869da642606f6fa8f948f /cloudinit/sources/DataSourceConfigDrive.py | |
parent | c548fdf3201519c1c30c815ba9feec643b87e0bf (diff) | |
download | vyos-cloud-init-44113217719ebee756325b40a5d14045ba8f3a3a.tar.gz vyos-cloud-init-44113217719ebee756325b40a5d14045ba8f3a3a.zip |
drop version= from readers
instead of taking a version that they should look for,
the readers now just select the highest supported version.
definitely a use case later for having version= but nothing
is using it now.
Diffstat (limited to 'cloudinit/sources/DataSourceConfigDrive.py')
-rw-r--r-- | cloudinit/sources/DataSourceConfigDrive.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py index b8c16361..a27d07fb 100644 --- a/cloudinit/sources/DataSourceConfigDrive.py +++ b/cloudinit/sources/DataSourceConfigDrive.py @@ -167,10 +167,10 @@ def get_ds_mode(cfgdrv_ver, ds_cfg=None, user=None): return "net" -def read_config_drive(source_dir, version=None): +def read_config_drive(source_dir): reader = openstack.ConfigDriveReader(source_dir) finders = [ - (reader.read_v2, [], {'version': version}), + (reader.read_v2, [], {}), (reader.read_v1, [], {}), ] excps = [] |