]> git.proxmox.com Git - pve-cluster.git/commit
pvecm add: fix #1369 - re-allow using hostnames for ringX_addr
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 2 May 2017 09:51:22 +0000 (11:51 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 4 May 2017 08:13:54 +0000 (10:13 +0200)
commit9d69040c5a5cd5ad29380dc9ce5b9234cbe14fd3
tree4f9af15f01d9243824461a7b3d682d2592e225e4
parent55910ea1f7f8b2ac38008aaf6d5bdde023e2a6a5
pvecm add: fix #1369 - re-allow using hostnames for ringX_addr

If an user passed a hostname as ring0_addr or ring1_addr the check_ip
checked failed as it implicitly assumed IPs even if we allowed a
general address (i.e. IP or hostname) as a format for those
properties.

Fixes: #1369
Reported here: https://forum.proxmox.com/threads/34342/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm