<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Arial">Thanks Eric. thats very helpful. <br>
      <br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 12/07/2012 03:51 PM, Eric Blake
      wrote:<br>
    </div>
    <blockquote cite="mid:50C280FF.1010302@redhat.com" type="cite"><br>
      <pre wrap="">
Yes.  virsh define (but not start) so that libvirt will create the
randomized MAC, then use libguestfs-tools to modify files residing in
the guest image, and then finally boot the guest.

</pre>
      <blockquote type="cite">
        <pre wrap="">
Better yet, is there a way to simply control the assigning of the eths in the generic xml file used to create the VM?
</pre>
      </blockquote>
      <pre wrap="">
Libvirt passes the devices to the qemu command line in the same order
that they appear in the XML.  It is not libvirt's fault if qemu then
takes the command line arguments and presents it to the guest in such a
way that the guest can initialize the devices in the order in which a
bus scan finds them, rather than in the order they were presented on the
command line.</pre>
    </blockquote>
    <br>
    oh yeah theres that. I see.<br>
    <br>
    <br>
    <pre class="moz-signature" cols="120">-- 
John Fisher</pre>
  </body>
</html>