Skip to content

khalidit23/fix-proxmox-vm-start-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

🛠️ Fix: Proxmox VM Not Starting Due to Node Hostname Mismatch

Proxmox

If you're facing an error like this when starting a Proxmox virtual machine:

img alt


Then this guide will help you fix the issue by correcting the Proxmox node hostname mismatch between the static and transient hostnames.

If your system’s static hostname and transient hostname don’t match, Proxmox may look in the wrong directory and fail to find 200.conf, resulting in a VM start failure.


Check Hostnames

Run the following:

hostnamectl

Example output:

Static hostname: khalid
Transient hostname: KHALID-DELL-730XD-PROXMOX

This mismatch causes Proxmox to look for the VM config under KHALID-DELL-730XD-PROXMOX, while the VM was created under khalid

Set all types of hostnames to the same value (khalid in this case):

sudo hostnamectl set-hostname khalid --static --pretty --transient

Then confirm:

hostnamectl

**Now your Proxmox VM should start successfully.

❤️ Support

If this guide helped you, feel free to star ⭐ this repository and share it with others!

About

Fix for Proxmox VM startup error caused by node hostname mismatch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published