Skip to content

Commit b56c5ab

Browse files
authored
Merge pull request #4379 from josedonizetti/add-kvm-default-network-doc
Add kvm default network documentation
2 parents 722f501 + a8b0485 commit b56c5ab

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/drivers.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,24 @@ or, to use kvm2 as a default driver for `minikube start`:
7676
minikube config set vm-driver kvm2
7777
```
7878

79+
### Troubleshoot
80+
81+
If minikube can't start, check if the kvm default network exists.
82+
83+
```shell
84+
virsh net-list
85+
Name State Autostart Persistent
86+
----------------------------------------------------------
87+
default active yes yes
88+
```
89+
90+
In case the default network doesn't exist you can define it.
91+
92+
```shell
93+
curl https://raw.githubusercontent.com/libvirt/libvirt/master/src/network/default.xml > kvm-default.xml
94+
virsh net-define kvm-default.xml
95+
```
96+
7997
## Hyperkit driver
8098

8199
Install the [hyperkit](http://github.com/moby/hyperkit) VM manager using [brew](https://brew.sh):

0 commit comments

Comments
 (0)