Replies: 3 comments 5 replies
-
This is also very relevant to MeTube LXC - it creates with metube hostname but it is not easy to resolve IP-address it got. Also adding qemu client to list of automatically installed packages, I think it reports IP at least to proxmox. |
Beta Was this translation helpful? Give feedback.
-
You can use the advanced settings and change the hostname there? This also affects the name shown on your pve node. |
Beta Was this translation helpful? Give feedback.
-
Why this was closed? mDNS/Avahi install was the biggest part along with creation time name setting. |
Beta Was this translation helpful? Give feedback.
-
As proxmox helper script makes on all LXC named as "docker" or "alpine-docker". So my suggestion is to allow setting LXC hostname directly, and which also sets PVE LXC name. Also Avahi daemon should be installed to support mDNS to help reaching to your set hostname.
Now all is manual work, although not a lot of work but still if PVE hosts are running DHCP. And I understand not everyone is fan of mDNS, but it should be optional.
on pve console
pct set 101 --hostname pihole
then on pihole console (I use alpine-docker or docker-alpine)
apk update
apk add avahi
rc-update add avahi-daemon
rc-service avahi-daemon start
Then I could just simply control pihole by http://pihole.local. I know there is pihole-helper script already - pihole is not the case but the idea of hostnames, just randomly used pihole as an example. Container could be anything like TeslaLogger or Birdnet-Go or ...
Beta Was this translation helpful? Give feedback.
All reactions