From 07c43b3f0ec283c79454922739e3d08228dae32f Mon Sep 17 00:00:00 2001 From: padman Date: Wed, 21 Mar 2018 14:24:42 -0400 Subject: [PATCH] Updategraph during NOS->SONiC migration --- files/image_config/platform/rc.local | 1 + 1 file changed, 1 insertion(+) diff --git a/files/image_config/platform/rc.local b/files/image_config/platform/rc.local index a89b800d12f1..a931efb5b469 100755 --- a/files/image_config/platform/rc.local +++ b/files/image_config/platform/rc.local @@ -197,6 +197,7 @@ if [ -f /host/image-$sonic_version/platform/firsttime ]; then mkdir -p /etc/sonic/old_config mv /host/migration/minigraph.xml /etc/sonic/old_config/ touch /tmp/pending_config_migration + [ -f /etc/sonic/updategraph.conf ] && sed -i -e "s/enabled=false/enabled=true/g" /etc/sonic/updategraph.conf else touch /tmp/pending_config_initialization fi