Skip to content

Instantly share code, notes, and snippets.

@sanjid133
Created May 22, 2019 19:34
Show Gist options
  • Save sanjid133/be670d820ddc0af0d834b0c8030b1d68 to your computer and use it in GitHub Desktop.
Save sanjid133/be670d820ddc0af0d834b0c8030b1d68 to your computer and use it in GitHub Desktop.
Install kvm2 driver ubuntu 18.04+
#!/bin/bash
sudo apt install libvirt-clients libvirt-daemon-system qemu-kvm
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
sudo systemctl status libvirtd.service
sudo usermod -a -G libvirt $(whoami)
newgrp libvirt
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 \
&& sudo install docker-machine-driver-kvm2 /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment