mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
Merge pull request #2806 from RiRa12621/rira12621-cloudinit
fix(coreos-cloudinit): truncate hostnames
This commit is contained in:
commit
b3b9f07fb7
2
changelog/changes/2025-04-03-sanitize-hostname.md
Normal file
2
changelog/changes/2025-04-03-sanitize-hostname.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
- Always truncate hostnames on the first occurrence of `.` ([cloud-init#32](https://github.com/flatcar/coreos-cloudinit/pull/32))
|
||||||
|
- Ensure hostnames never exceeds 63 characters, regardless of the metadata provider ([cloud-init#31](https://github.com/flatcar/coreos-cloudinit/pull/31))
|
@ -10,7 +10,7 @@ inherit git-r3 systemd toolchain-funcs udev coreos-go
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
else
|
else
|
||||||
EGIT_COMMIT="f3aaab923de5075524780716635f25564b5e6934" # flatcar-master
|
EGIT_COMMIT="1c1d7f4ae6b933350d7fd36e882dda170123cccc" # flatcar-master
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user