summaryrefslogtreecommitdiff
path: root/data/templates/system
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-19 18:41:07 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-09-19 18:39:54 +0000
commite8581998c2bfbbee349eee89df6d59cc6c4fca16 (patch)
tree5a3e79e6721fcfd10fade156b6010a207d5bb11d /data/templates/system
parentbdb00d1c781fc30ea0ec4b873a2748f8419928ee (diff)
downloadvyos-1x-e8581998c2bfbbee349eee89df6d59cc6c4fca16.tar.gz
vyos-1x-e8581998c2bfbbee349eee89df6d59cc6c4fca16.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. (cherry picked from commit ac21a4e69fac27504b62927a20d0a6a273abb034)
Diffstat (limited to 'data/templates/system')
0 files changed, 0 insertions, 0 deletions