Summary: | nuageinit does not process openstack user-data file | ||
---|---|---|---|
Product: | Base System | Reporter: | Dmitry <dimon.bat> |
Component: | bin | Assignee: | freebsd-virtualization (Nobody) <virtualization> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | bapt |
Priority: | --- | ||
Version: | 14.1-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Dmitry
2024-06-20 13:18:16 UTC
ah, I see, pure openstack have user_data while ec2 or ovhcloud's baremetal have user-data! I will make nuageinit try both! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cde6642431bb0ca21aeebc7c521e99c681d31ffb commit cde6642431bb0ca21aeebc7c521e99c681d31ffb Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2024-06-27 08:30:07 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-06-27 08:32:14 +0000 nuageinit: check for both user_data and user-data openstack, ec2 and other implementation of cloudinit disagrees on the name of the file "user-data" or "user_data", test both and use the first found PR: 279876 libexec/nuageinit/nuageinit | 17 ++++++++++---- libexec/nuageinit/tests/nuageinit.sh | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 4 deletions(-) metadata too: # ls /media/nuageinit/ec2/latest meta-data.json user-data # ls /media/nuageinit/openstack/latest meta_data.json network_data.json user_data vendor_data.json vendor_data2.json |