This is a specialised case of Cluster deployment tutorial on the same matter. It does NOT require DHCP static reservations and does NOT rely on DNS resolution. It is therefore easily feasible in a typical homelab setup.
1. Perform regular ISO installation [1] - use a temporary static IP for the first boot, use hostname you would like to retain (
2. Install Avahi [2] daemon:
3. Remove superfluous static entry in
4. Change from
5. Reboot.
You may wish to check if everything is alright with
You may also want to check simply
And that's about it. Also, if you are on the same subnet, you may now access your node GUI at:
[1] https://pve.proxmox.com/wiki/Installation#installation_installer
[2] https://wiki.debian.org/Avahi
DISCLAIMER DO NOT use this setup for clusters.
1. Perform regular ISO installation [1] - use a temporary static IP for the first boot, use hostname you would like to retain (
pvehost
in this example).2. Install Avahi [2] daemon:
apt -y update; apt install avahi-daemon
3. Remove superfluous static entry in
/etc/hosts
, e.g. remove 192.168.1.101 pvehost.internal pvehost
line completely:
Code:
127.0.0.1 localhost.localdomain localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
4. Change from
static
to dhcp
and remove address
and gateway
specified in /etc/network/interfaces
- example (if default install):
Code:
auto lo
iface lo inet loopback
iface enp1s0 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
5. Reboot.
You may wish to check if everything is alright with
journalctl -eu pve-cluster.service
- it should contain a line such as (with NO errors):pvehost pmxcfs[706]: [main] notice: resolved node name 'pvehost' to '192.168.1.101' for default node IP address
You may also want to check simply
hostname --ip-address
does NOT return 127.*.*.*
address.And that's about it. Also, if you are on the same subnet, you may now access your node GUI at:
https://pvehost.local:8006/
[1] https://pve.proxmox.com/wiki/Installation#installation_installer
[2] https://wiki.debian.org/Avahi
Last edited: