From c068f992c3905d07732dafa6eb61c1ae3aa65916 Mon Sep 17 00:00:00 2001 From: James Falcon Date: Fri, 7 Aug 2020 10:19:09 -0500 Subject: Recognize LABEL_FATBOOT labels (#513) Update DataSourceNoCloud and ds-identify to recognize LABEL_FATBOOT labels from blkid. Also updated associated tests. LP: #1841466 --- cloudinit/sources/DataSourceNoCloud.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cloudinit/sources') diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py index e8856920..e408d730 100644 --- a/cloudinit/sources/DataSourceNoCloud.py +++ b/cloudinit/sources/DataSourceNoCloud.py @@ -41,6 +41,7 @@ class DataSourceNoCloud(sources.DataSource): label_list = util.find_devs_with("LABEL=%s" % label.upper()) label_list.extend(util.find_devs_with("LABEL=%s" % label.lower())) + label_list.extend(util.find_devs_with("LABEL_FATBOOT=%s" % label)) devlist = list(set(fslist) & set(label_list)) devlist.sort(reverse=True) -- cgit v1.2.3