Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coldreboot logging #3173

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shiraez
Copy link

@shiraez shiraez commented Feb 21, 2024

What I did

Add coldreboot to reboot-cause

How I did it

Add "coldreboot" script to bin which will add the reboot-cause and exec /sbin/coldreboot.

How to verify it

sudo coldreboot
show reboot-cause

Previous command output (if the output of a command-line utility has changed)

Unknown

New command output (if the output of a command-line utility has changed)

User issued 'coldreboot' command [User: admin, Time: Sun 18 Jun 2023 07:15:14 PM UTC]

@xumia
Copy link
Collaborator

xumia commented Feb 22, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@shiraez
Copy link
Author

shiraez commented Feb 22, 2024

Hi @xumia
All the Azure Pipelines passing
please approve it

@xumia
Copy link
Collaborator

xumia commented Feb 22, 2024

Hi @xumia All the Azure Pipelines passing please approve it

Why we need to add the coldreboot? @qiluo-msft , could you please help review it? Thanks.

@shiraez
Copy link
Author

shiraez commented Mar 3, 2024

@xumia The coldreboot command already exists, but if we use it we can't see the reboot cause(Unknown).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants