diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-04-12 11:54:31 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-04-12 11:54:31 -0400 |
commit | cc549350c6010908add773a8b74e5d1ac840bbf1 (patch) | |
tree | 60eabad58e4a125b0c003c4153ebc7d915b5d90f /cloudinit/config/cc_resizefs.py | |
parent | 763be4ecccca0c0ccb62466699cc9cd22f79adc7 (diff) | |
download | vyos-cloud-init-cc549350c6010908add773a8b74e5d1ac840bbf1.tar.gz vyos-cloud-init-cc549350c6010908add773a8b74e5d1ac840bbf1.zip |
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.
LP: #1568150
Diffstat (limited to 'cloudinit/config/cc_resizefs.py')
0 files changed, 0 insertions, 0 deletions