]> git.proxmox.com Git - pve-installer.git/commit
proxinstall: avoid open-coding FQDN sanity check
authorChristoph Heiss <c.heiss@proxmox.com>
Thu, 15 Feb 2024 12:39:36 +0000 (13:39 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Feb 2024 15:40:04 +0000 (16:40 +0100)
commit93892c018857868127fe08472d67433627531ab8
treee3628b81edb2229ee63a6e8c7dd814933584a9dc
parent5ee2afa71e35bba9d49ed3b69a53ee9c40414254
proxinstall: avoid open-coding FQDN sanity check

.. by moving it into its own subroutine. Makes the whole thing quite a
bit neater and easier to maintain.

No functional changes.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Proxmox/Sys/Net.pm
proxinstall
test/Makefile
test/parse-fqdn.pl [new file with mode: 0755]