summaryrefslogtreecommitdiff
path: root/cloudinit/netinfo.py
diff options
context:
space:
mode:
authorJoshua Chan <jocha@microsoft.com>2018-05-03 14:50:16 -0600
committerChad Smith <chad.smith@canonical.com>2018-05-03 14:50:16 -0600
commitaae494c39f4c6f625e7409ca262e657d085dd5d1 (patch)
tree05399fdf56c57fde998c58a85e9358b0f8754a1a /cloudinit/netinfo.py
parentd24057adbc70e7b034b8aca36c5351938b5de74a (diff)
downloadvyos-cloud-init-aae494c39f4c6f625e7409ca262e657d085dd5d1.tar.gz
vyos-cloud-init-aae494c39f4c6f625e7409ca262e657d085dd5d1.zip
azure: Add reported ready marker file.
This change is for Azure VM Preprovisioning. A bug was found when after azure VMs report ready the first time, during the time when VM is polling indefinitely for the new ovf-env.xml from Instance Metadata Service (IMDS), if a reboot happens, we send another report ready signal to the fabric, which deletes the reprovisioning data on the node. This marker file is used to fix this issue so that we will only send a report ready signal to the fabric when no marker file is present. Then, create a marker file so that when a reboot does occur, we check if a marker file has been created and decide whether we would like to send the repot ready signal. LP: #1765214
Diffstat (limited to 'cloudinit/netinfo.py')
0 files changed, 0 insertions, 0 deletions