<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Cole,
<br>
Sorry to disturb you. Firstly,thanks for your continuously help.
<br>
I am not sure how to enter a local ISO path into the install URL
field in the installation method "Network install(HTTP,FTP or NFS)"
url to disk. <br>
I have tried to set up a http server in the s390x ,but find that
the "localhost" is x86 which running virt-manager. Also , I try the
<a class="moz-txt-link-rfc2396E"
href="file:///var/lib/libvirt/images/**.iso">"file:///var/lib/libvirt/images/**.iso"</a>,
it don't find the iso image.
<br>
So if you can provide<b> some examples of "local iso host"</b>
,it will be really better. <span class="moz-smiley-s1" title=":-)"></span>
<br>
Big Thanks~
<br>
<br>
Best Regards,
<br>
Kevin
<div class="moz-cite-prefix">On 2015年11月12日 04:05, Cole Robinson
wrote:<br>
</div>
<blockquote cite="mid:56439F9C.9090200@redhat.com" type="cite">
<pre wrap="">On 11/11/2015 12:45 AM, Kevin Zhao wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Cole & all,
There is a question just confusing me.
When I use virt-install , set the --location parameter like this :
--location /tmp/**.iso, virt-install can search the iso and get the tree.info
, kernel.img and initrd.img. But when I replace the parameter "--location "
with the "--cdrom", it will not be able to search the iso for kernel.img and
initrd.img ,I need to specify the kernel and initrd(Maybe inn the arch ppc64le
and s390x).
But when I use virt-manager, choose the cdrom I can not get the
functions just like "--location". So does the virt-manager support the
functions just like "--location" do? I see that by using network installation
, virt-manager will search for tree.info, how to use it to get a local iso
treeinfo?
My descriptions may not be very clear . So feel free to let me know if
you have any question.
</pre>
</blockquote>
<pre wrap="">
The difference between --location $ISO and --cdrom $ISO are kinda subtle:
--cdrom $ISO just passes the $ISO as a cdrom device to the guest
--location $ISO tries to mount the $ISO locally, and treat that local path
like a --location $URL install, pulling out the kernel/initrd. This allows
passing in custom kernel args, but is kinda limited since you need root access
to mount the iso
You can actually trigger this with virt-manager by entering a local ISO path
into the install URL field
- Cole
</pre>
</blockquote>
<br>
</body>
</html>