]> git.proxmox.com Git - pve-container.git/commit
setup centos & derivatives: hostname: only read sysconfig network if exist
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Nov 2024 12:59:01 +0000 (13:59 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Nov 2024 13:00:41 +0000 (14:00 +0100)
commitea45f1ccc4e696b9887ee30adc5131a61d17940a
treef505322caf74fd75128bdea41b5c03711c4eb887
parenta8c3d96e2e807874335eb1b49aa896fa042df8f5
setup centos & derivatives: hostname: only read sysconfig network if exist

This fixes support of newer Fedora images, with often do not have any
/etc/sysconfig/network at all. And we already have support for setting
the system up without that file being present anyway.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/CentOS.pm
src/PVE/LXC/Setup/Fedora.pm