Update drivers.md

move the systemctl start closer to the install steps 
libvirtd.service
pull/3711/head
Mas 2019-02-21 07:30:26 -05:00 committed by GitHub
parent 6b962793e7
commit 5d5aea86b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 6 deletions

View File

@ -22,6 +22,14 @@ To install the KVM2 driver, first install and configure the prereqs:
* Ubuntu 16.x or older: `sudo apt install libvirt-bin libvirt-daemon-system qemu-kvm`
* Fedora/CentOS/RHEL: `sudo yum install libvirt-daemon-kvm qemu-kvm`
```
Enable,start, and verify the libvirtd service has started.
```shell
systemctl enable libvirtd.service
systemctl start libvirtd.service
systemctl status libvirtd.service
```
Then you will need to add yourself to libvirt group (older distributions may use libvirtd instead)
`sudo usermod -a -G libvirt $(whoami)`
@ -35,12 +43,7 @@ Now install the driver:
```shell
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 \
&& sudo install docker-machine-driver-kvm2 /usr/local/bin/
```
Enable and start the libvirtd service.
```shell
systemctl enable libvirtd.service
systemctl start libvirtd.service
```
NOTE: Ubuntu users on a release older than 18.04, or anyone experiencing [#3206: Error creating new host: dial tcp: missing address.](https://github.com/kubernetes/minikube/issues/3206) you will need to build your own driver until [#3689](https://github.com/kubernetes/minikube/issues/3689) is resolved. Building this binary will require [Go v1.11](https://golang.org/dl/) or newer to be installed.