Skip to content

Commit a17faf8

Browse files
committed
fix proxy
1 parent ea57839 commit a17faf8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pkg/minikube/machine/machine.go

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
package machine
1818

1919
import (
20+
"fmt"
2021
"time"
2122

2223
"github.com/docker/machine/libmachine/host"
@@ -93,6 +94,7 @@ func provisionDockerMachine(h *host.Host) error {
9394
if err != nil {
9495
return errors.Wrap(err, "fast detect")
9596
}
97+
fmt.Printf("engine options are :\n %+v\n", h.HostOptions.EngineOptions)
9698
return p.Provision(*h.HostOptions.SwarmOptions, *h.HostOptions.AuthOptions, *h.HostOptions.EngineOptions)
9799
}
98100

pkg/minikube/machine/start.go

+5
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ func createHost(api libmachine.API, cfg config.ClusterConfig, n config.Node) (*h
136136
h.HostOptions.AuthOptions.StorePath = localpath.MiniPath()
137137
h.HostOptions.EngineOptions = engineOptions(cfg)
138138

139+
err = provisionDockerMachine(h)
140+
if err != nil {
141+
return h, errors.Wrap(err, "provision")
142+
}
143+
139144
cstart := time.Now()
140145
glog.Infof("libmachine.API.Create for %q (driver=%q)", cfg.Name, cfg.Driver)
141146

0 commit comments

Comments
 (0)