cri-resource-manager
cri-resource-manager copied to clipboard
e2e: add Fedora support for distro-install-kernel-dev
- Add vm-install-kernel-dev to script API to make this feature visible.
This extends kernel development environment support to Fedora, as requested by @klihub in https://github.com/intel/cri-resource-manager/pull/902#issuecomment-1277861085.
Yet the request is about Fedora-based distros, this patch most likely works on Fedora only.
Fixed an issue in the echo'd next steps (build/install). Now the kernel gets built and installed when printed commands are executed with vm-command in the interactive prompt.
run.sh> vm-reboot
root@vm> reboot
host> sleep 5
# VM SSH server : ssh [email protected]
Waiting for VM SSH server to respond...host> sleep 2
.host> sleep 2
.host> sleep 2
.host> sleep 2
.
run.sh> vm-command "uname -r"
root@vm> uname -r
5.17.12-100.e2e.fc34.x86_64
Suggested commands build all packages (debug versions, too). On my 4 CPU / 16 GB VM this took roughly 2 h 20 mins.