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

Juan Asensio Sánchez okelet at gmail.com
Thu Oct 13 08:07:48 UTC 2016


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:

[image: 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20161013/5245f9d1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selecci?n_001.png
Type: image/png
Size: 10713 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20161013/5245f9d1/attachment.png>


More information about the virt-tools-list mailing list