Hey,
I am trying to install the latest PVE automatically.
I don't want to set FQDNs in my answer.toml file, but instead want the nodes to obtain their hostname via DHCP.
I therefore added this to my answer file:
If I set anything as fqdn.domain:
Then I would expect the installer to only use this search domain, if none is returned by DHCP.
Instead, the installer seems to append the search domain I specify to the search domain I receive from DHCP.
At least I then end up with an /etc/resolv.conf looking like this:
If instead I don't specify "fqdn.domain" at all, then somehow I end up without a search domain at all.
My node then is only called "pve" and the search domain becomes "search example.invalid".
My DHCP config:
I would expect PVE to either only use the domain I define in my toml-file, or to only use the search domain from DHCP, but it somehow concats them with a ".".
Am I using it wrong, or did I somehow run into a bug?
Thanks a lot upfront
I am trying to install the latest PVE automatically.
I don't want to set FQDNs in my answer.toml file, but instead want the nodes to obtain their hostname via DHCP.
I therefore added this to my answer file:
Code:
fqdn.source = "from-dhcp"
If I set anything as fqdn.domain:
Code:
fqdn.domain = "example.com"
Instead, the installer seems to append the search domain I specify to the search domain I receive from DHCP.
At least I then end up with an /etc/resolv.conf looking like this:
Code:
search proxmox.internal.example.com.example.com
If instead I don't specify "fqdn.domain" at all, then somehow I end up without a search domain at all.
My node then is only called "pve" and the search domain becomes "search example.invalid".
My DHCP config:
Code:
host n-1.proxmox.internal.example.com {
option domain-name "proxmox.internal.example.com";
hardware ethernet <my mac address>;
fixed-address 192.168.1.25;
}
I would expect PVE to either only use the domain I define in my toml-file, or to only use the search domain from DHCP, but it somehow concats them with a ".".
Am I using it wrong, or did I somehow run into a bug?
Thanks a lot upfront
