mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
Merge pull request #1571 from flatcar/coreos-cloudinit-fix-empty-hostname
coreos-cloudinit: fix hostname reset bug
This commit is contained in:
commit
cf05715ed0
1
changelog/bugfixes/2024-01-15-coreos-cloudinit.md
Normal file
1
changelog/bugfixes/2024-01-15-coreos-cloudinit.md
Normal 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))
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user