Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing virt-install with bare qemu-kvm #37

Open
shaaga opened this issue May 21, 2021 · 0 comments
Open

Replacing virt-install with bare qemu-kvm #37

shaaga opened this issue May 21, 2021 · 0 comments

Comments

@shaaga
Copy link

shaaga commented May 21, 2021

Is there a libvirtd supported container available ? If not, can someone please help me with the qemu-kvm equivalent command for the below virt-install command so that I can create automated installation of VM inside the KVM CentOS container ?

virt-install --location http://download.eng.bos.redhat.com/released/RHEL-7/7.6/Server/x86_64/os/
--disk /var/tmp/install$1.img,size=10,format=raw
--os-variant rhel7.6
--initrd-inject ./ks.cfg
--extra-args="ks=file:/ks.cfg"
--vcpus 2
--memory 2048
--noreboot
--name azure-install-$1
--channel tcp,host=127.0.0.1:6080,mode=connect,target_type=virtio,name=org.fedoraproject.anaconda.log.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant