![]() In the below virt-install example cheat sheet we will create KVM VM and assign this default network for our Virtual Machine ~]# virt-install -name centos8-2 -memory 10240 -vcpus=2 -os-type=Linux -os-variant=centos7.0 -location=/tmp/rhel-server-7.6-x86_64-dvd.iso -network network=default -graphics=vnc -v To check list of available networks use virsh command ~]# virsh net-list In the below virt-install example cheat sheet I have defined -os-type as Linux and -os-variant as Centos7.0 ~]# virt-install -name centos8-2 -memory 10240 -vcpus=2 -os-type=Linux -os-variant=centos7.0 To get the list of supported OS Variant types, execute below command from the terminal # osinfo-query os To see a complete list of options run the following command: ![]() The virt-install tool provides a number of options that can be passed on the command line. Virt-install is a command line tool for creating new KVM, Xen, or Linux container guests using the libvirt hypervisor management library In this article I will share a list of commands to create KVM Virtual machine command line using virt-install examples in RHEL/CentOS 8 Linux. virt-install example with multiple networks
0 Comments
Leave a Reply. |