<p dir="ltr">Hosts I have tried with are Ubuntu 14.04/virt-install 1.2.1 and Fedora 24/virt-install 1.4.0,  and the guest is always CentOS 7.2.</p>
<div class="gmail_extra"><br><div class="gmail_quote">El 14 oct. 2016 5:35 p. m., "Cole Robinson" <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10/13/2016 04:07 AM, Juan Asensio Sánchez wrote:<br>
> Hi<br>
><br>
> I am trying to inject some installations files with virt-install using<br>
> initrd-inject. The .ks file is copied correctly, but all other files (.tar.gz,<br>
> .zip), don't. This is the exact command:<br>
><br>
> virt-install --name centos7x64 --os-variant rhel7.0 --channel spicevmc<br>
> --memory 2048 --vcpus=2 --graphics spice --disk format=qcow2,size=16<br>
> --initrd-inject=minimal.ks --initrd-inject=jdk-8u72-<wbr>linux-x64.tar.gz<br>
> --initrd-inject=jboss-eap-6.4.<wbr>0.zip --extra-args='ks=file:/<wbr>minimal.ks'<br>
> --location <a href="http://my.internal.ip/yum7" rel="noreferrer" target="_blank">http://my.internal.ip/yum7</a><br>
><br>
> Verified from the Anaconda installer:<br>
><br>
> Imágenes integradas 1<br>
><br>
> What could be the reason? Tested in Ubuntu 14.04/virt-install 1.2.1 and Fedora<br>
> 24/virt-install 1.4.0.<br>
><br>
<br>
What's the guest OS? Recent fedora versions seem to ignore moving files into<br>
the guest root that don't start with *.ks or *.cfg, so maybe that's what you<br>
are hitting<br>
<br>
- Cole<br>
<br>
</blockquote></div></div>