File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ clean_flash() {
92
92
[ $f != " $cmdline_base " ] &&
93
93
[ $f != " aquota.user" ] &&
94
94
[ $f != " old_config" ] &&
95
- [ $f != " minigraph.xml" ]
95
+ [ $f != " minigraph.xml" ] &&
96
+ [ $f != " snmp.yml" ] &&
97
+ [ $f != " acl.json" ]
96
98
then
97
99
rm -rf " $target_path /$f "
98
100
fi
Original file line number Diff line number Diff line change @@ -223,6 +223,8 @@ if [ -f $FIRST_BOOT_FILE ]; then
223
223
elif [ -f /host/minigraph.xml ]; then
224
224
mkdir -p /etc/sonic/old_config
225
225
mv /host/minigraph.xml /etc/sonic/old_config/
226
+ [ -f /host/acl.json ] && mv /host/acl.json /etc/sonic/old_config/
227
+ [ -f /host/snmp.yml ] && mv /host/snmp.yml /etc/sonic/old_config/
226
228
touch /tmp/pending_config_migration
227
229
elif [ -n " $migration " ] && [ -f /host/migration/minigraph.xml ]; then
228
230
mkdir -p /etc/sonic/old_config
You can’t perform that action at this time.
0 commit comments