diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-19 18:41:07 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-09-19 20:38:26 +0200 |
commit | ac21a4e69fac27504b62927a20d0a6a273abb034 (patch) | |
tree | 0a1a86a45e2bd0a54e489dfc6cf61a1de0a18d46 /src/migration-scripts/interfaces/27-to-28 | |
parent | 56d3f75de487c1dcfd075cf7b65cb16b6501d0ca (diff) | |
download | vyos-1x-ac21a4e69fac27504b62927a20d0a6a273abb034.tar.gz vyos-1x-ac21a4e69fac27504b62927a20d0a6a273abb034.zip |
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.
Diffstat (limited to 'src/migration-scripts/interfaces/27-to-28')
0 files changed, 0 insertions, 0 deletions