KVM: Difference between revisions

118 bytes added ,  30 June 2020
→‎Creating a RHEL 8.2 VM: Checking which port VNC is connected to
→‎Installation: Creating a RHEL 8.2 VM
→‎Creating a RHEL 8.2 VM: Checking which port VNC is connected to
Line 5: Line 5:
== Creating a RHEL 8.2 VM ==
== Creating a RHEL 8.2 VM ==


{{testedon|2020-06-27|RHEL 8.2}}
{{testedon|2020-06-30|RHEL 8.2}}


<source lang="console">
<source lang="console">
# virt-install --name=iqbal --vcpus=2 --memory=2048 --cdrom=/home/mhan/Downloads/rhel-8.2-x86_64-boot.iso --disk size=5 --os-variant=rhel8.2
# virt-install --name=iqbal --vcpus=2 --memory=2048 --cdrom=/home/mhan/Downloads/rhel-8.2-x86_64-boot.iso --disk size=5 --os-variant=rhel8.2 --graphics vnc
</source>
 
Checking which port VNC is connected to
 
<source lang="console">
# virsh vncdisplay vm-name
</source>
</source>