From 129c0858a96421e6bc5bf095a37a577c04e9e7a6 Mon Sep 17 00:00:00 2001 From: Abhishek Dosi Date: Mon, 11 May 2020 17:44:50 -0700 Subject: [PATCH] Fix for issue where image is compile with flag ENABLE_DHCP_GRAPH_SERVICE 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. --- files/image_config/config-setup/config-setup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/image_config/config-setup/config-setup b/files/image_config/config-setup/config-setup index afff97806518..0b385028a21f 100755 --- a/files/image_config/config-setup/config-setup +++ b/files/image_config/config-setup/config-setup @@ -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