Skip to content

incorrect way to detect fast-reboot #2380

@rameshsanth

Description

@rameshsanth

inconsistent strings used in /proc/cmdline to detect fast reboot.
dockers/docker-orchagent/swssconfig.sh uses "fast-reboot" to detect fast reboot

Looks like SONIC_BOOT_TYPE=fast is the string that is saved by sonic-utilities:scripts/fast-reboot file

Correct usage
docker_image_ctl.j2 checks for "SONIC_BOOT_TYPE=fast" in cmdline

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions