Hostname problem on Linux VMs

HuhuG

New Member
May 29, 2022
1
0
1
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!