diff options
author | John Estabrook <jestabro@vyos.io> | 2021-08-19 14:30:32 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-08-20 14:14:59 -0500 |
commit | 1a498915efdc433dda7bd6e5fcc08703a48560c6 (patch) | |
tree | 82a1ad507250b2c47ba77444761a36d068507280 /python/vyos/defaults.py | |
parent | f7e3f5562458da4d80b272f1524c27727799e57b (diff) | |
download | vyos-1x-1a498915efdc433dda7bd6e5fcc08703a48560c6.tar.gz vyos-1x-1a498915efdc433dda7bd6e5fcc08703a48560c6.zip |
T1950: write component versions to json file during migration
Diffstat (limited to 'python/vyos/defaults.py')
-rw-r--r-- | python/vyos/defaults.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py index 2c24e007f..dacdbdef2 100644 --- a/python/vyos/defaults.py +++ b/python/vyos/defaults.py @@ -13,6 +13,7 @@ # You should have received a copy of the GNU Lesser General Public # License along with this library. If not, see <http://www.gnu.org/licenses/>. +import os directories = { "data": "/usr/share/vyos/", @@ -34,6 +35,8 @@ cfg_vintage = 'vyos' commit_lock = '/opt/vyatta/config/.lock' +component_version_json = os.path.join(directories['data'], 'component-versions.json') + https_data = { 'listen_addresses' : { '*': ['_'] } } |