diff options
author | Anh Vo <anhvo@microsoft.com> | 2021-07-19 17:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 16:45:02 -0500 |
commit | a984ee78b745b157b4b023a1786bfbd3b2002b88 (patch) | |
tree | 6c81e70a834d6b04fb4a54d42376864d0023b983 /tools/run-container | |
parent | 4fbe192ab21252b5cb664ee0e7ae3ee22af98a10 (diff) | |
download | vyos-cloud-init-a984ee78b745b157b4b023a1786bfbd3b2002b88.tar.gz vyos-cloud-init-a984ee78b745b157b4b023a1786bfbd3b2002b88.zip |
Azure: mount default provisioning iso before try device listing (#870)
With a few exceptions, Azure VM deployments receive provisioning
metadata through the provisioning iso presented as a cdrom device
(/dev/sr0). The existing code attempts to find this device by calling
blkid to find all devices that have either type iso9660 or udf. This
can be very expensive if the VM has a lot of disks. This commit will
attempt to mount the default iso location first and only tries to use
blkid to locate the iso location if the default mounting location fails
Diffstat (limited to 'tools/run-container')
0 files changed, 0 insertions, 0 deletions