Skip to content

Commit c932302

Browse files
stepanblyschakyxieca
authored andcommitted
fix fast reboot compatibility (#3083)
* fix fast reboot compatibility We should handle both cases for backward-compatible with 201803: - fast-reboot - SONIC_BOOT_TYPE=fast-reboot * handle review comments * add a comment that getBootType code snippet is shared between two files
1 parent cf4ab3e commit c932302

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

files/build_templates/docker_image_ctl.j2

+3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ start() {
134134
echo "Creating new {{docker_container_name}} container"
135135
{%- else %}
136136
echo "Creating new {{docker_container_name}} container with HWSKU $HWSKU"
137+
{%- endif %}
138+
{%- if sonic_asic_platform == "mellanox" %}
139+
# TODO: Mellanox will remove the --tmpfs exception after SDK socket path changed in new SDK version
137140
{%- endif %}
138141
docker create {{docker_image_run_opt}} \
139142
{%- if '--log-driver=json-file' in docker_image_run_opt or '--log-driver' not in docker_image_run_opt %}

0 commit comments

Comments
 (0)