Commit c92f0203 authored by Scott Moser's avatar Scott Moser

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
parent 0aa443a1
......@@ -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())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment