In file: /usr/lib/python3.9/site-packages/testcloud/instance.py there is
465 ["-netdev", "user,id=testcloud_net.{},hostfwd=tcp::{}-:22".format(port, port), 466 "-device", "e1000,netdev=testcloud_net.{}".format(port)]) 467 self.create_port_file(port)
which is not visible in rhel8 plus one version. So basically this is ignored in newest rhel versions.
Proposed solution
466 "-device", "virtio-net-pci,netdev=testcloud_net.{}".format(port)]) 467 self.create_port_file(port)
But this proposed solution needs to be tested on old rhel/fedora versions.
Metadata Update from @frantisekz: - Issue assigned to frantisekz
So, this doesn't work in CentOS 7 unless I install NetworkManager and start that service.
I am planning to approach this via libguestfs inspect api for CentOS and RHEL and if they're version 7 or less, use the e1000 and otherwise virtio-net-pci .
Commit d35a6d2 fixes this issue
Log in to comment on this ticket.