diff options
author | Brandon Stepler <brandon@stepler.net> | 2021-07-29 14:30:00 -0400 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-09-02 14:26:18 -0500 |
commit | 4a8bf1ee1e1e5b6fee1850b5cb82085c0edd75ab (patch) | |
tree | 5cc2b2bc0b796ce7c64b2b78cfa49118a323e525 /src/migration-scripts/interfaces | |
parent | 6e5923da90897c2cbfa553a28347acddce174771 (diff) | |
download | vyos-1x-4a8bf1ee1e1e5b6fee1850b5cb82085c0edd75ab.tar.gz vyos-1x-4a8bf1ee1e1e5b6fee1850b5cb82085c0edd75ab.zip |
configd: T3694: always set script.argv
Several scripts imported by vyos-configd (including
src/conf_mode/protocols_static.py) rely on argv for operating on VRFs.
Always setting script.argv in src/services/vyos-configd ensures those
scripts will operate on the default VRF when called with no arguments.
Otherwise, a stale argv might cause those scripts to operate on the last
modified VRF instead of the default VRF.
(cherry picked from commit 3341c591ad1190f39ff3ffd475eddf5d95aef763)
Diffstat (limited to 'src/migration-scripts/interfaces')
0 files changed, 0 insertions, 0 deletions