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.

El 14 oct. 2016 5:35 p. m., "Cole Robinson" <crobi...@redhat.com> escribió:

> On 10/13/2016 04:07 AM, Juan Asensio Sánchez wrote:
> > Hi
> >
> > I am trying to inject some installations files with virt-install using
> > initrd-inject. The .ks file is copied correctly, but all other files
> (.tar.gz,
> > .zip), don't. This is the exact command:
> >
> > virt-install --name centos7x64 --os-variant rhel7.0 --channel spicevmc
> > --memory 2048 --vcpus=2 --graphics spice --disk format=qcow2,size=16
> > --initrd-inject=minimal.ks --initrd-inject=jdk-8u72-linux-x64.tar.gz
> > --initrd-inject=jboss-eap-6.4.0.zip --extra-args='ks=file:/minimal.ks'
> > --location http://my.internal.ip/yum7
> >
> > Verified from the Anaconda installer:
> >
> > Imágenes integradas 1
> >
> > What could be the reason? Tested in Ubuntu 14.04/virt-install 1.2.1 and
> Fedora
> > 24/virt-install 1.4.0.
> >
>
> What's the guest OS? Recent fedora versions seem to ignore moving files
> into
> the guest root that don't start with *.ks or *.cfg, so maybe that's what
> you
> are hitting
>
> - Cole
>
>
_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to