Open sergeiwaigant opened 3 years ago
hi,
it works with rc1 :-) Tested a few minutes ago.
I still have the same issue, but only on the first node that's provisioned using mode: create
. After installation, when it boots for the first time, it has a random rancher hostname. When I reboot it again afterwards, it's renamed to the hostname which is provided through dhcp. After that, stuff breaks, because k3s is configured with the previous hostname.
These issues don't arise with joiner nodes.
Version (k3OS / kernel) k3os version v0.11.1 & latest v0.19.4-dev.5
Architecture x86_64
Describe the bug I am using pfSense as DHCP server and static mappings to assign IPs and other config like hostname to my systems. For other systems, like Fedora or CentOS, which I bootstrap with PXE (syslinux) the OS is able to get everything from the DHCP provided data. On the K3S machine its able to get the IP as expected, but the hostname and domain search list is ignored. Furthermore it is setting the domain name as domain search list.
Funny enough... when just booting the ISO and run the install manually I can see, that the hostname is set correctly, but domain search list is still ignored. Once installed, it is ignoring everything except the IP.
To Reproduce
My config.yml:
My PXE Boot
Expected behavior
Actual behavior
Additional context