expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified
This commit is contained in:
parent
4a37250f79
commit
3feb96869d
@ -191,6 +191,9 @@ start() {
|
||||
{%- if docker_container_name != "database" %}
|
||||
-v /usr/share/sonic/device/$PLATFORM/$HWSKU:/usr/share/sonic/hwsku:ro \
|
||||
{%- endif %}
|
||||
{%- if docker_container_name == "pmon" %}
|
||||
-v /host/reboot-cause:/host/reboot-cause \
|
||||
{%- endif %}
|
||||
{%- if sonic_asic_platform != "mellanox" %}
|
||||
--tmpfs /tmp \
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user