Skip to content
Ondrej Fabry edited this page Jul 17, 2019 · 7 revisions

Install Virtual Machine Manager

# install virtual machine manager
sudo apt-get install virt-manager  

# start virtual machine manager
sudo -E virt-manager

Manage VMs

port forward

# on dom0
ssh 192.168.122.43
ssh -vv -NR 24000:localhost:22  192.168.122.1
ssh -v -NR 20888:localhost:28080  192.168.122.1

vms

# list all vms (domains)
sudo virsh list --all --title

# show vm info
sudo virsh help dominfo slave0

# list all pools/volumes
sudo virsh pool-list --all --details
sudo virsh vol-list default --details

network

# dump network config
sudo virsh net-dumpxml default

# show network info
sudo virsh net-info default

# show network dhcp leases
sudo virsh net-dhcp-leases default

# set static dhcp
sudo virsh net-update default add ip-dhcp-host  "<host mac='52:54:00:e0:fe:1e' name='slave0' ip='192.168.122.10'/>" --live --config 

config

Video

  • QXL is better than VGA
Clone this wiki locally