Merge pull request #1571 from flatcar/coreos-cloudinit-fix-empty-hostname

coreos-cloudinit: fix hostname reset bug
This commit is contained in:
Jeremi Piotrowski 2024-01-16 14:32:36 +01:00 committed by GitHub
commit cf05715ed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- Fixed a bug resulting in coreos-cloudinit resetting the instance hostname to 'localhost' if no metadata could be found ([coreos-cloudinit#25](https://github.com/flatcar/coreos-cloudinit/pull/25))

View File

@ -12,7 +12,7 @@ inherit cros-workon systemd toolchain-funcs udev coreos-go
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64" KEYWORDS="~amd64 ~arm64"
else else
CROS_WORKON_COMMIT="47bc4cfae35357d88f84e8fdb65c787054fc17a3" # flatcar-master CROS_WORKON_COMMIT="47d54a38e766a30c7ab9caabf2292e885505ffe0" # flatcar-master
KEYWORDS="amd64 arm64" KEYWORDS="amd64 arm64"
fi fi