summaryrefslogtreecommitdiff
path: root/python/vyos/migrator.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-11-10 12:00:45 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-11-10 14:06:14 -0600
commit7216a8fc8f6acbc6608844c194c7c962663b6226 (patch)
tree27a3d31a401e27021817cb2ca6a93ae4534b1b5d /python/vyos/migrator.py
parentb8412e90380b322fdf62353a8ed409b8f2ca72de (diff)
downloadvyos-1x-7216a8fc8f6acbc6608844c194c7c962663b6226.tar.gz
vyos-1x-7216a8fc8f6acbc6608844c194c7c962663b6226.zip
migration: T4808: print configtree operations during migration
Print configtree operations to stdout during migration; the migrator will log the output.
Diffstat (limited to 'python/vyos/migrator.py')
-rw-r--r--python/vyos/migrator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/migrator.py b/python/vyos/migrator.py
index 1e1172778..87c74e1ea 100644
--- a/python/vyos/migrator.py
+++ b/python/vyos/migrator.py
@@ -137,6 +137,7 @@ class Migrator(object):
cfg_ver = next_ver
rev_versions[key] = cfg_ver
+ del os.environ['VYOS_MIGRATION']
return rev_versions
def write_config_file_versions(self, cfg_versions):