diff options
author | aswinrajamannar <39812128+aswinrajamannar@users.noreply.github.com> | 2021-08-12 12:44:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 14:44:53 -0500 |
commit | e119ceceb7d76af7d75c04a8779b9c5fc68083a8 (patch) | |
tree | 25f04b412fc662e1940166a558fafa13bcae1113 /cloudinit/config/cc_migrator.py | |
parent | 7781dec3306e9467f216cfcb36b7e10a8b38547a (diff) | |
download | vyos-cloud-init-e119ceceb7d76af7d75c04a8779b9c5fc68083a8.tar.gz vyos-cloud-init-e119ceceb7d76af7d75c04a8779b9c5fc68083a8.zip |
Azure: Check if interface is up after sleep when trying to bring it up (#972)
When bringing interface up by unbinding and then binding hv_netvsc
driver, it might take a short delay after binding for the link to be
up. So before trying unbind/bind again after sleep, check if the link
is up. This is a corner case when a preprovisioned VM is reused and
the NICs are hot-attached.
Diffstat (limited to 'cloudinit/config/cc_migrator.py')
0 files changed, 0 insertions, 0 deletions