Skip to content

Commit

Permalink
Don't reuse init_cfg.json from old image during upgrade (#2036)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyl-ms authored and lguohan committed Sep 12, 2018
1 parent 5d299c4 commit 2f0a3c6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions files/image_config/updategraph/updategraph
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f0a3c6

Please sign in to comment.