[baseimage]: Updategraph during NOS->SONiC migration (#1521)
This commit is contained in:
parent
ebea937a7a
commit
dba35eebb1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user