dotfiles/bak/bin/07-kvm.fish

14 lines
283 B
Fish
Raw Normal View History

2020-04-27 06:47:36 +00:00
#!/usr/bin/env fish
sudo pacman -S qemu libvirt virt-manager ebtables dnsmasq virt-viewer
# pcie passthrough
#sudo pacman -S ovmf
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
# use vm by virsh/virt-viewer
# $ virsh start <VM>
# $ virt-viewer <VM>