GNS3 / gns3-registry

GNS3 devices registry
GNU General Public License v3.0
323 stars 387 forks source link

Add "-cpu host" to all RedHat based appliances #818

Closed b-ehlers closed 9 months ago

b-ehlers commented 9 months ago

RedHat based appliances since v9.0 need the qemu option -cpu host, otherwise the appliance will crash during boot.

oracle-linux-cloud.gns3a and rockylinux.gns3a already contain this option, but almalinux.gns3a and rhel.gns3a not. I just tested almalinux.gns3a and adding this option will sucessfully boot v9.2, while it crashes without it. I don't have access to RedHat images, but the community post https://gns3.com/community/featured/redhat-appliance-9-2-kvm-qcow2-not-work-in-gns3 indicates, that this option will also help with RedHat. As I can't verify it, someone else should test it and create a PR.

b-ehlers commented 9 months ago

centos-cloud.gns3a and fedora-cloud.gns3a may be affected as well, but I haven't tested.

b-ehlers commented 9 months ago

almalinux.gns3a, rhel.gns3a and centos-cloud.gns3a are fixed by the PR, fedora-cloud.gns3a works without changes.

Da-Geek commented 9 months ago

@b-ehlers Good Catch (and to the people that helped in the community forum as well)!!

I must admit, with the RHEL9 Cloud images, I made sure it booted past GRUB, and didn't watch/wait for a "Full Boot", that's on me, I am sorry I didn't catch it before pushing the change.

I also haven't needed to use RHEL9 since adding the images, so didn't catch the missing option myself. I have ben using Fedora as the Guest in most of my GNS3 projects recently.

Once again, My Bad! I will make sure I test up to a "Login Prompt" in the future.