<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Robert Nelson wrote:
<blockquote cite="mid:473CC3B9.20503@the-nelsons.org" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
David Lutterkort wrote:
  <blockquote cite="mid:1195163977.7943.4.camel@localhost.localdomain"
 type="cite">
    <pre wrap="">On Thu, 2007-11-15 at 12:13 -0800, Robert Nelson wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">I looked at virt-image but it seemed to be based on having an "already
installed" version of the source image.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
The source image would be the install media - you'd have an image.xml
that is set to boot off the install CD and gets an additional virtual
disk (xvda, hda, ..) that it will install into. Once the install is
complete, you'd still need to boot the guest off its own libvirt XML.

  </pre>
    <blockquote type="cite">
      <pre wrap="">Also I didn't see any way to specify different configuration settings
for the "install phase" versus the "normal execution".
    </pre>
    </blockquote>
    <pre wrap=""><!---->
This would only be for the install phase - virt-install/virt-image still
need to know that they are doing an install, and generate 'normal'
libvirt XML that the guest boots off after installation.

  </pre>
    <blockquote type="cite">
      <pre wrap="">Unfortunately neither virt-image nor virt-install provide the ability
to specify the target device.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
virt-image XML does have a mapping of disk files to target devices.
You're right though that virt-install will just assign target devices
based on the order in which disk files are specified.

David

  </pre>
  </blockquote>
  <br>
The virt-image(5) man page doesn't list an option for the target
device.  The only options listed are: file, use, size and format.<br>
  <br>
</blockquote>
Ah never mind, I missed that the storage declaration is split into two
places.<br>
<blockquote cite="mid:473CC3B9.20503@the-nelsons.org" type="cite">
  <blockquote cite="mid:1195163977.7943.4.camel@localhost.localdomain"
 type="cite">
    <pre wrap="">_______________________________________________
et-mgmt-tools mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a>
  </pre>
  </blockquote>
  <br>
</blockquote>
<br>
</body>
</html>