summaryrefslogtreecommitdiff
path: root/MANIFEST.in
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2017-09-19 11:10:09 -0500
committerScott Moser <smoser@brickies.net>2017-09-22 14:37:52 -0400
commitda6562e21d0b17a0957adc0c5a2c9da076e0d219 (patch)
treeeab4e4f20adbdd695f39af4c4e2700ed1ce59a96 /MANIFEST.in
parent79ce0a234584a50b1c6e2b664b9ccf7a5d1fca58 (diff)
downloadvyos-cloud-init-da6562e21d0b17a0957adc0c5a2c9da076e0d219.tar.gz
vyos-cloud-init-da6562e21d0b17a0957adc0c5a2c9da076e0d219.zip
DataSourceOVF: use util.find_devs_with(TYPE=iso9660)
DataSourceOVF attempts to find iso files via walking os.listdir('/dev/') which is far too wide. This approach is too invasive and can sometimes race with systemd attempting to fsck and mount devices. Instead, utilize cloudinit.util.find_devs_with to filter devices by criteria (which uses blkid under the covers). This results in fewer attempts to mount block devices which do not contain iso filesystems. Unittest changes include: - cloudinit.tests.helpers; introduce add_patch() helper - Add unittest coverage for DataSourceOVF use of transport_iso9660 LP: #1718287
Diffstat (limited to 'MANIFEST.in')
0 files changed, 0 insertions, 0 deletions