summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-04-26 19:38:17 +0200
committerChristian Breunig <christian@breunig.cc>2026-04-26 19:38:17 +0200
commite5c61bdfef7a060120625ff50e302923753b2ef3 (patch)
tree3ee0ffdfb49573b6ba3ee30e20347c3563c1c9b6 /python/setup.py
parent0cc2bbfc54370cce2d2c7540fb155e464207f1be (diff)
downloadvyos-1x-e5c61bdfef7a060120625ff50e302923753b2ef3.tar.gz
vyos-1x-e5c61bdfef7a060120625ff50e302923753b2ef3.zip
utils: T8541: add write-config-file-value helper
Introduce src/helpers/write-config-file-value.py to patch a saved config.boot from scripts by writing a quoted CLI path with an optional value (omit --value to create a valueless node). Extend vyos.utils.config.write_saved_value() to safely update saved configs: create missing parent nodes before tagging (ConfigTree.set_tag requires nodes to exist) and then write the requested value/valueless leaf back to disk. Remove the legacy serial console activation script which is now replaced by the helper-based approach. The helper is run once during ISO Image assembly and will inject the approprate serial console defintiions into config.boot.default.
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions