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

In zVM || KVM write the cio_kernel_parameter only if given #1105

Merged
merged 5 commits into from
Jan 29, 2024

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Jan 26, 2024

Change #1104 implementation writing the cio_ignore kernel parameter only if given according to the bug request. It depends on yast/yast-yast2#1300

@coveralls
Copy link

coveralls commented Jan 26, 2024

Coverage Status

coverage: 41.091% (+0.03%) from 41.064%
when pulling 6a5c379 on cio_ignore_when_given
into 94b7d84 on master.

def zvm?
File.exist?("/proc/sysinfo") &&
File.readlines("/proc/sysinfo").grep(/Control Program: z\/VM/).any?
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding back this method I suggest to use shared functionality from Yast::Arch - https://github.com/yast/yast-yast2/blob/d6ae8689e2ea9abf9908c1c9bd76c3dd557f78cf/library/general/src/modules/Arch.rb#L440

@teclator teclator merged commit 8f7d3f0 into master Jan 29, 2024
6 of 10 checks passed
@teclator teclator deleted the cio_ignore_when_given branch January 29, 2024 09:39
@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #153 successfully finished
✔️ Created OBS submit request #1142203

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.

4 participants