diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-02-21 16:09:14 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2018-02-21 19:13:28 -0500 |
commit | b7497e807fa12a26d4a12aaf1ee9302a4fd24728 (patch) | |
tree | c7921169381921ac7a7becc0ec9e6595bea0e8b6 /tools/render-cloudcfg | |
parent | 99171fb7b9bec446e25a338a0d36a820844fbc2d (diff) | |
download | vyos-cloud-init-b7497e807fa12a26d4a12aaf1ee9302a4fd24728.tar.gz vyos-cloud-init-b7497e807fa12a26d4a12aaf1ee9302a4fd24728.zip |
ds-identify: Fix searching for iso9660 OVF cdroms.
This fixes a bug in parsing of 'blkid -o export' output. The result
of the bug meant that DI_ISO9660_DEVS did not get set correctly and
is_cdrom_ovf would not identify devices in most cases.
The tests are improved to demonstrate both multiple iso devices
and also a cdrom that doesn't sort "last" in blkid output.
The code change is to use DEVNAME as the record separator when
parsing blkid -o export rather than relying on being able to read
the empty line.
LP: #1749980
Diffstat (limited to 'tools/render-cloudcfg')
0 files changed, 0 insertions, 0 deletions