cloudbase-init/cloudbaseinit/metadata
Luqman Aden 9b17eaf1d4 Accept drives with vFAT label 'cidata' as a configdrive.
Match vFAT label using a given label instead of hardcoding 'config-2'.

The NoCloud and ConfigDrive metadata services both attempt to find vFAT
formatted drives but the label used was hardcoded to 'config-2' which
only works with ConfigDrive. BaseConfigDriveService which both inherit
from already has a drive_label property set appropriately for both so
let's use that for the vFAT finding logic as well.

Change-Id: I8004a8565338b0615450bb28cecc86901be94766
2023-05-14 06:32:55 +00:00
..
services Accept drives with vFAT label 'cidata' as a configdrive. 2023-05-14 06:32:55 +00:00
__init__.py Initial commit 2012-12-01 23:50:15 +02:00
factory.py Fix typo in exception name 2019-10-30 17:04:58 +02:00