Skip to content

Commit

Permalink
add instructions to enable kdump on microos systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunarequest committed Oct 29, 2024
1 parent d455f3e commit 2743b66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/kdump/kdump-view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,12 @@ export class KdumpPage extends React.Component {
# A reboot will be required if crashkernel was not set before
kdumpctl reset-crashkernel`;
}
if (this.state.os_release.NAME?.includes('MicroOS')) {
enableCrashKernel = `
# A reboot will be required if crashkernel was not set before
transactional-update setup-kdump`;
}

const shell = `
cat > /etc/kdump.conf << EOF
${kdumpconf}
Expand Down

0 comments on commit 2743b66

Please sign in to comment.