~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 1203.

  • Committer: Scott Moser
  • Date: 2016-04-12 15:54:31 UTC
  • Revision ID: smoser@ubuntu.com-20160412155431-602h1kh7lpt9xtbh
DataSourceNoCloud: fix check_instance_id when upgraded

A system that had booted, upgraded, and then rebooted would show
a cloud-init stack trace as it attempted to run new code
with the old pickled object.  The old object would not have the
seed_dirs attribute.  So we check and fallback correctly if that
is not present.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: