proxmox: changed ip assigning logic a bit