Skip to content

Commit

Permalink
Fix for issue where image is compile with flag ENABLE_DHCP_GRAPH_SERVICE
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
abdosi committed May 12, 2020
1 parent 6889fd1 commit 129c085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/image_config/config-setup/config-setup
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ do_config_migration()
# Migrate the DB to the latest schema version if needed
/usr/bin/db_migrator.py -o migrate
fi
# Disable updategraph
disable_updategraph
elif [ -r ${MINGRAPH_FILE} ]; then
echo "Use minigraph.xml from old system..."
reload_minigraph
Expand Down

0 comments on commit 129c085

Please sign in to comment.