summaryrefslogtreecommitdiff
path: root/src/PVE/API2/Network/SDN/Controllers.pm
diff options
context:
space:
mode:
authorGabriel Goller <g.goller@proxmox.com>2025-07-23 17:49:34 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2025-07-23 18:43:21 +0200
commit7ca344383c237e8946cb73c3f9d3804608461e16 (patch)
tree64f37c2b847143afdb5ac492ee7f9dfe5eefe087 /src/PVE/API2/Network/SDN/Controllers.pm
parent32cac45c9b369921339a418ee76d44833110bf63 (diff)
frr: early exit on apply when frr is not installed
When frr isn't installed (happens e.g. on pve8 to 9 update) then the SDN and Networking "Apply Configuration" task will throw an error because it can't access the frr daemons file to check if the daemons are enabled. In order to fix this, check if the frr config file exists before continuing with the frr config generation. Also make the "daemons file does not exist" error nicer. Signed-off-by: Gabriel Goller <g.goller@proxmox.com> Link: https://lore.proxmox.com/20250723154934.928349-1-g.goller@proxmox.com [TL: switch to checking just for /etc/frr and perltidy] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'src/PVE/API2/Network/SDN/Controllers.pm')
0 files changed, 0 insertions, 0 deletions