summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_smartos.py
diff options
context:
space:
mode:
authorAnh Vo <anhvo@microsoft.com>2021-07-19 17:45:02 -0400
committerGitHub <noreply@github.com>2021-07-19 16:45:02 -0500
commita984ee78b745b157b4b023a1786bfbd3b2002b88 (patch)
tree6c81e70a834d6b04fb4a54d42376864d0023b983 /tests/unittests/test_datasource/test_smartos.py
parent4fbe192ab21252b5cb664ee0e7ae3ee22af98a10 (diff)
downloadvyos-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 'tests/unittests/test_datasource/test_smartos.py')
0 files changed, 0 insertions, 0 deletions