![]() ![]() Network bridge:br0: This example uses bridged adapter br0. ![]() You can specify the NFS or http installation location (instead of –-cdrom). Xmanager set up, then you can ignore this parameter.Ĭdrom: Indicates the location of installation image. Graphics none: This instructs virt-install to use a text console on VM serial port instead of graphical VNC window. Vcpu: Total number of virtual CPUs for the VM.ĭisk path=/var/lib/libvirt/images/myRHELVM1.img,bus=virtio,size=10: Path where the VM image files is stored. For example, for linux, it can be rhel6, centos6, ubuntu14, suse11, fedora6, etc.įor windows, this can be win2k, win2k8, win8, win7 Os-variant: Distribution type for the above os-type. Os-type: OS type can be Linux, Solaris, Unix or Windows. In the above virt-install command the parameters have the following meaning:ĭescription: Some valid description about your VM.įor example: Application server, database server, web server, etc. disk path=/var/lib/libvirt/images/myRHELVM1.img,bus=virtio,size=10 \ In the following example, I passed all the required values to createĪn VM as command line parameters to the virt-install command. This tool can be used inīoth interactive or non-interactive mode. Virt-install tool is used to create the VM. Creating a new Guest VM using virt-install Essentially the tool you're wanting to use is virt-install, which you should already have if you have installed everything needed for QEMU-KVM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |