HomeVyOS Platform

init: T5239: configure system hostname prior to FRR startup

Description

init: T5239: configure system hostname prior to FRR startup

On first boot after an upgrade /etc/hostname and FRR configuration is not
populated. FRR determines the system hostname once during startup and does not
repect changes of the hostname CLI value.

Thus after an upgrade of VyOS FRR started with a hostname of debian that was
propagated to peers.

The commit retrieves the hostname from the CLI and presets this before FRR is
initially started.

Details

Provenance
c-poAuthored on Sep 19 2023, 4:41 PM
Parents
rVYOSONEX56d3f75de487: utils: T5239: add low-level read from config.boot
Branches
Loading...
Tags
Loading...