Blob Blame History Raw
# HG changeset patch
# User "Cole Robinson <crobinso@redhat.com>"
# Date 1226346838 18000
# Node ID 3a9b23c6cd62cea84bae6fa095dcdb9490c4bc1c
# Parent  38298b55baad22a2472bc5e72530706bd388fd4f
Don't skip pxe if virtio nic specified (works for F10 at least). (Alan Pevec)

diff -r 38298b55baad -r 3a9b23c6cd62 AUTHORS
--- a/AUTHORS	Mon Nov 10 14:50:13 2008 -0500
+++ b/AUTHORS	Mon Nov 10 14:53:58 2008 -0500
@@ -32,6 +32,7 @@
    Guido Guenther <agx-at-sigxcpu-dot-org>
    Francois Kooman <fkooman-at-tuxed-dot-net>
    Tom Hughes <thh-at-cyberspace-dot-com>
+   Alan Pevec <apevec-at-redhat-dot-com>
 
    ...send patches and get your name here...
 
diff -r 38298b55baad -r 3a9b23c6cd62 virtinst/FullVirtGuest.py
--- a/virtinst/FullVirtGuest.py	Mon Nov 10 14:50:13 2008 -0500
+++ b/virtinst/FullVirtGuest.py	Mon Nov 10 14:53:58 2008 -0500
@@ -406,16 +406,10 @@
 
         disk_bus  = self._lookup_device_param("disk", "bus")
         net_model = self._lookup_device_param("net", "model")
-        pxe_skipped = False
 
         # Only overwrite params if they weren't already specified
         for net in self._install_nics:
             if net_model and not net.model:
-                if net_model == "virtio":
-                    # virtio net doesn't seem to support pxe, skip first interface
-                    if not pxe_skipped and isinstance(self.installer, PXEInstaller):
-                        pxe_skipped = True
-                        continue
                 net.model = net_model
         for disk in self._install_disks:
             if disk_bus and not disk.bus: