Skip to content

Commit 5fe2216

Browse files
authored
Fix for issue where image is compile with flag ENABLE_DHCP_GRAPH_SERVICE (#4573)
and then we load image and reboot even if there was existing config_db.json we will look for DHCP Service. we should disbale update_graph in such cases. This behaviour is silimar to what we have in 201811 image.
1 parent e3be45f commit 5fe2216

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

files/image_config/config-setup/config-setup

+2
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ do_config_migration()
310310
# Migrate the DB to the latest schema version if needed
311311
/usr/bin/db_migrator.py -o migrate
312312
fi
313+
# Disable updategraph
314+
disable_updategraph
313315
elif [ -r ${MINGRAPH_FILE} ]; then
314316
echo "Use minigraph.xml from old system..."
315317
reload_minigraph

0 commit comments

Comments
 (0)