Open fanyangto opened 1 month ago
Thanks for reporting this. Thanks too for the instructions to reproduce. Knowing that the default Debian build works as expected OOTB will almost certainly make it easier to isolate how we can improve the user experience. Thanks too for sharing your workarounds.
Ideally we'd love to address this sooner than later, but unfortunately we have a backlog a mile long and our resources are very stretched. So any "proper" fix - even if just PoC - would be warmly welcomed and ensure that this issue is resolved sooner rather than later.
Regardless, I've pinned this issue to our next major release. Fingers crossed we'll have time to look into this more closely by then, if not before.
I believe this issue has existed for a long time.
PVE 8.1, 8.2.4 DHCP server: fresh tomato's dnsmasq
When I create a container with the Turnkey Core LXC template, the LXC obtained the IP address via DHCP. But the DNS name is not set as the hostname configured in PVE. Instead, it's just the hostname derived from the MAC address. I used to workaround it by creating a IP reservation (MAC to IP and hostname mapping).
But recently I found the following:
Based on the experiments of various container templates, I believe the issue is in the turnkey core LXC.
I currently work around this problem by doing the following: I added the following in crontab: