From 000247f7fb2000fb9b5d19b60d9d477d0890c4fc Mon Sep 17 00:00:00 2001 From: Taoyu Li Date: Wed, 12 Sep 2018 00:38:22 +0000 Subject: [PATCH] Don't reuse init_cfg.json from old image during upgrade --- files/image_config/updategraph/updategraph | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/image_config/updategraph/updategraph b/files/image_config/updategraph/updategraph index 96827f09f97f..5a0304aa24e7 100755 --- a/files/image_config/updategraph/updategraph +++ b/files/image_config/updategraph/updategraph @@ -44,9 +44,6 @@ if [ -f /tmp/pending_config_migration ]; then if [ "$enabled" = "true" ]; then echo "Use minigraph.xml from old system..." cp /etc/sonic/old_config/minigraph.xml /etc/sonic/ - if [ -f /etc/sonic/old_config/init_cfg.json ]; then - cp /etc/sonic/old_config/init_cfg.json /etc/sonic/ - fi if [ -f /etc/sonic/old_config/snmp.yml ]; then cp /etc/sonic/old_config/snmp.yml /etc/sonic/ fi