diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-04-29 09:04:36 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-04-29 09:04:36 -0400 |
commit | c92f02037afc6b0434c9498904f7d888e00cd55b (patch) | |
tree | 10eb336ac8f3d079bf4badd6b0ac7787fc7eb6ce /cloudinit | |
parent | 0aa443a1b70393a4c5a027735f45330081274c45 (diff) | |
download | vyos-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.py | 2 |
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()) |