Skip to content

Instantly share code, notes, and snippets.

@pierew
Created February 18, 2019 19:07
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save pierew/8735bf1bd6e4228bae04799b6dace080 to your computer and use it in GitHub Desktop.
Save pierew/8735bf1bd6e4228bae04799b6dace080 to your computer and use it in GitHub Desktop.
Changing a Proxmox VE Nodes name when it is not in a cluster
OLDNAME=$(hostname)
hostnamectl set-hostname ${1}
mkdir -p /etc/pve/nodes/${1}
cp -a /etc/pve/nodes/${OLDNAME} /etc/pve/nodes/${1}
echo 'A reboot is required, Exit with CTRL-C'
read
@nils-tekampe
Copy link

This breaks the system (at least it did on my server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment