We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214ea08 commit ef7780dCopy full SHA for ef7780d
files/build_templates/docker_image_ctl.j2
@@ -241,6 +241,12 @@ function postStartAction()
241
$SONIC_CFGGEN -j /etc/sonic/config_db$DEV.json --write-to-db
242
fi
243
244
+
245
+ if [[ "$BOOT_TYPE" == "fast" ]]; then
246
+ # this is the case when base OS version does not support fast-reboot with reconciliation logic (dump.rdb is absent)
247
+ # In this case, we need to set the flag to indicate fast-reboot is in progress. Set the key to expire in 3 minutes
248
+ $SONIC_DB_CLI STATE_DB SET "FAST_REBOOT|system" "1" "EX" "180"
249
+ fi
250
251
252
if [ -e /tmp/pending_config_migration ] || [ -e /tmp/pending_config_initialization ]; then
0 commit comments