Hostname problem on Linux VMs

HuhuG

Member
May 29, 2022
3
0
6
Hello,

I come to you because when I put a hostname on Proxmox on a VM (Ubuntu for example), and when I type the command "hostname" on the VM, it doesn't show me the right hostname at all.

For example, when on Proxmox I set the hostname "pve1.mydomain.com", on the VM I get "pve1" only.

I don't understand, and despite several attempts, even with the help of other colleagues, we can't find it.

Thank you for your help!