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

Modify test_boot_fipsenabled case to be compatible with image mode #480

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

yoguo
Copy link
Contributor

@yoguo yoguo commented Nov 22, 2024

No description provided.

utils_lib.run_cmd(self, cmd, msg='Remove {}'.format(arg))
reboot_require = True

if 'ostree' in cmdline:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks @yoguo, seems we can use one addon_args here. The difference is in the boot params operation in image mode and package mode. Others looks good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the boot=UUID=xxx parameter exists in /proc/cmdline by default and we should not remove it in image mode. In addition, if other params in addon_args can be supported in image mode, we can add them gradually.

@yoguo yoguo merged commit 353e429 into virt-s1:master Nov 25, 2024
1 check passed
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