-
Notifications
You must be signed in to change notification settings - Fork 125
Ondrej Fabry edited this page Jul 17, 2019
·
7 revisions
# install virtual machine manager
sudo apt-get install virt-manager
# start virtual machine manager
sudo -E virt-manager
# 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
# 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
# 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
Video
- QXL is better than VGA