summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-04-29 09:04:36 -0400
committerScott Moser <smoser@ubuntu.com>2016-04-29 09:04:36 -0400
commitc92f02037afc6b0434c9498904f7d888e00cd55b (patch)
tree10eb336ac8f3d079bf4badd6b0ac7787fc7eb6ce /cloudinit
parent0aa443a1b70393a4c5a027735f45330081274c45 (diff)
downloadvyos-cloud-init-c92f02037afc6b0434c9498904f7d888e00cd55b.tar.gz
vyos-cloud-init-c92f02037afc6b0434c9498904f7d888e00cd55b.zip
Config Drive: fix check_instance_id signature.
After reboot cloud-init would fail as the previously pickled object would have a check_instance_id signature but it didn't match expected LP: #1575055
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/DataSourceConfigDrive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py
index 3fa62ef3..52a9f543 100644
--- a/cloudinit/sources/DataSourceConfigDrive.py
+++ b/cloudinit/sources/DataSourceConfigDrive.py
@@ -155,7 +155,7 @@ class DataSourceConfigDrive(openstack.SourceMixin, sources.DataSource):
return True
- def check_instance_id(self):
+ def check_instance_id(self, sys_cfg):
# quickly (local check only) if self.instance_id is still valid
return sources.instance_id_matches_system_uuid(self.get_instance_id())