Skip to content

Commit

Permalink
[baseimage]: Updategraph during NOS->SONiC migration (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
padmanarayana authored and lguohan committed Mar 23, 2018
1 parent ebea937 commit dba35ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/image_config/platform/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dba35ee

Please sign in to comment.