-
Committer:
Roman Podoliaka
-
Date:
2016-07-04 11:22:51 UTC
-
Revision ID:
rpodolyaka@mirantis.com-20160704112251-pntye8basc44jll1
config drive: also check uppercase VFAT labels
Some dosfstools versions unconditionally produce uppercase FS label,
which are currently ignored by Cirros init system (but work with
cloud-init), thus, such config drives will not be found on VM boot.
while the config drive spec says that a lowercase label "config-2"
should be used, it does not go into details whether case-sensitive
or case-insesitive string comparison is expected.
We could easily make this work for CentOS / RHEL users, if we simply
checked for both "config-2" and "CONFIG-2" before giving up.
Closes-Bug: #1598783