[virt-tools-list] virt-install initrd-inject with binary files

Cole Robinson crobinso at redhat.com
Fri Oct 14 15:35:24 UTC 2016


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




More information about the virt-tools-list mailing list