Skip to content

Commit 2f0a3c6

Browse files
taoyl-mslguohan
authored andcommitted
Don't reuse init_cfg.json from old image during upgrade (#2036)
1 parent 5d299c4 commit 2f0a3c6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

files/image_config/updategraph/updategraph

-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ if [ -f /tmp/pending_config_migration ]; then
4444
if [ "$enabled" = "true" ]; then
4545
echo "Use minigraph.xml from old system..."
4646
cp /etc/sonic/old_config/minigraph.xml /etc/sonic/
47-
if [ -f /etc/sonic/old_config/init_cfg.json ]; then
48-
cp /etc/sonic/old_config/init_cfg.json /etc/sonic/
49-
fi
5047
if [ -f /etc/sonic/old_config/snmp.yml ]; then
5148
cp /etc/sonic/old_config/snmp.yml /etc/sonic/
5249
fi

0 commit comments

Comments
 (0)