How do you create a VM in Openshift from a qemu-kvm img file and a custom kernel?

家住魔仙堡 提交于 2021-01-29 19:12:45

问题


We are currently using a qemu kvm, on physical systems, for our testing and would like to move this into our OpenShift cluster.

We are running something like this (other parameters removed for clarity)

qemu-system-x86_64 -kernel bzImage -drive file=container.ext4.img,format=raw

When looking at the OpenShift Create VM Wizard I can set source=URL and point to the .img file but see know where to specify the kernel file we use. When we run just the image file the console says

Booting from Hard Drive > Boot failed: not a bootable drive

Is it possible to create a VM in OpenShift using a qemu kvm image and kernel file?


回答1:


It appears that this is not supported by RH OpenShift



来源:https://stackoverflow.com/questions/63581412/how-do-you-create-a-vm-in-openshift-from-a-qemu-kvm-img-file-and-a-custom-kernel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!