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

Use modprobe to load modules at initramfs stage instead of using cloud-init. #414

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

masteryyh
Copy link
Contributor

Signed-off-by: Yanhong Yang yanhong.yang@suse.com

Related issue:
#3366

Test steps:

  1. Prepare a iPXE installation environment, in config.yaml add these modules:
# ...
os:
  modules:
    - kvm
    - nvme
    - vhost_net
# ...
  1. Install a Harvester instance using iPXE;
  2. After boot up, enter the console and use command lsmod | grep nvme to check if nvme module loaded;
  3. Use command lsmod | grep vhost_net to check if vhost_net module loaded;

Signed-off-by: Yanhong Yang <yanhong.yang@suse.com>
Copy link
Member

@bk201 bk201 left a comment

Choose a reason for hiding this comment

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

LGTM! works.

Copy link
Contributor

@guangbochen guangbochen left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.
And @masteryyh if it is confirmed as a bug, please help to track it in the upstream https://github.com/rancher/elemental-toolkit repo, thanks.

Copy link
Contributor

@futuretea futuretea left a comment

Choose a reason for hiding this comment

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

LGTM

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