Configure KVM 24.04LTS: Difference between revisions

From ScottWiki
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:


The click the + button in the bottom left
The click the + button in the bottom left
 
<pre>
Name br0
<network connections="1">
  <name>VMBridge</name>
  <forward mode="bridge"/>
  <bridge name="br0"/>
</network>
</pre>

Revision as of 20:01, 18 March 2024

Install a few helper utils (Make sure Virtualization is enabled in the bios)

apt install qemu-kvm libvirt-clients libvirt-daemon-system

Check all is ok with a

kvm-ok


After installing Windows WSL and Virtual Manager you can set up SSH key login to enable virtual manager to connect nicely.

ssh-keygen (you may need to run this command 1st if you don't have a keypair, (VM machine)
ssh-copy-id username@solaris.scottworld.net

Start up virtual machine manager and check connection

Configure Network

Right click host --> details --> Virtual Networks

The click the + button in the bottom left

<network connections="1">
  <name>VMBridge</name>
  <forward mode="bridge"/>
  <bridge name="br0"/>
</network>