vzborg
vzborg copied to clipboard
use short hostname for conf paths
If the server uses any hostname separated by dots (e.g. an FQDN such as example.com), the current configuration paths don't work, since they'll contain the full hostname "example.com", while proxmox only uses the short hostname "example" for the configuration directory.
This commit fixes this issue by using the short hostname instead.