summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorChris Patterson <cpatterson@microsoft.com>2022-01-18 15:45:59 -0500
committerGitHub <noreply@github.com>2022-01-18 14:45:59 -0600
commit0988fb89be06aeb08083ce609f755509d08fa459 (patch)
treee69ee8811b91d48ba689d0826f00ff99f3ed90ed /.pylintrc
parentf70a1e44e7a6d625dd0aaf7341331142415b3222 (diff)
downloadvyos-cloud-init-0988fb89be06aeb08083ce609f755509d08fa459.tar.gz
vyos-cloud-init-0988fb89be06aeb08083ce609f755509d08fa459.zip
sources/azure: set ovf_is_accessible when OVF is read successfully (#1193)
The if-statement set ovf_is_accessible to True if the OVF is read from /dev/sr0, but not from other data sources. It defaults to True, but may get flipped to False while processing an invalid source, and never get set back to True when reading from the data directory. Instead, default ovf_is_accessible to False, and only set it to True once we've read an OVF successfully (and end the search). This fixes an error when OVF is read from data_dir and IMDS data is unavailable (failing with "No OVF or IMDS available"). Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions