Merge pull request #1575 from tdemaret/master

Force create /usr/lib/systemd/system
pull/1614/head
Aaron Prindle 2017-06-19 07:45:59 -07:00 committed by GitHub
commit 745e4945c7
2 changed files with 4 additions and 1 deletions

View File

@ -22,9 +22,9 @@ import (
"fmt"
"net"
"strings"
"text/template"
"k8s.io/minikube/pkg/minikube/constants"
"text/template"
)
// Kill any running instances.

View File

@ -153,6 +153,9 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
}
func (d *Driver) Start() error {
if err := os.MkdirAll("/usr/lib/systemd/system/", os.FileMode(0755)); err != nil {
return err
}
d.IPAddress = "127.0.0.1"
d.URL = "127.0.0.1:8080"
return nil