Don't reuse init_cfg.json from old image during upgrade (#2036)
This commit is contained in:
parent
5c6948a90e
commit
47c9542c63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user