Skip to content

Replacing virt-install with bare qemu-kvm #37

@shaaga

Description

@shaaga

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions