I have a system where the [meta|user]-data is stored on the root of an ISO. I have no control over directory structure or filenames of the data.
/meta-data
/user-data
Cloudbaseinit is able to find and read the files, and copy them:
DEBUG cloudbaseinit.metadata.services.configdrive [-] Metadata copied to folder: 'C:\\Windows\\TEMP\\tmp8cdo0gm5'
but subsequently the files cannot be found and used because the paths are looking for them in the openstack\latest\ directory.
ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\metadata\services\configdrive.py", line 80, in _get_data
ERROR cloudbaseinit.shell with open(norm_path, 'rb') as stream:
ERROR cloudbaseinit.shell FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Windows\\TEMP\\tmp8cdo0gm5\\openstack\\latest\\meta_data.json'
Is there a way to explicitly specify the direcotry and file names?