Skip to content

Commit

Permalink
Rename VM to simple minikube
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Sep 2, 2016
1 parent c9ce60f commit 6fe48af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ real path=/
...
$ minikube stop
Stopping local Kubernetes cluster...
Stopping "minikubeVM"...
Stopping "minikube"...
```

### Driver plugins
Expand Down
2 changes: 1 addition & 1 deletion pkg/minikube/cluster/cluster_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func createXhyveHost(config MachineConfig) *xhyveDriver {
Memory: config.Memory,
CPU: config.CPUs,
Boot2DockerURL: config.GetISOFileURI(),
BootCmd: "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikubevm",
BootCmd: "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=" + constants.MachineName,
DiskSize: int64(config.DiskSize),
Virtio9p: true,
Virtio9pFolder: "/Users",
Expand Down
2 changes: 1 addition & 1 deletion pkg/minikube/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func TestDeleteHostMultipleErrors(t *testing.T) {
t.Fatal("Expected error deleting host, didn't get one.")
}

expectedErrors := []string{"Error removing minikubeVM", "Error deleting machine"}
expectedErrors := []string{"Error removing " + constants.MachineName, "Error deleting machine"}
for _, expectedError := range expectedErrors {
if !strings.Contains(err.Error(), expectedError) {
t.Fatalf("Error %s expected to contain: %s. ", err)
Expand Down
2 changes: 1 addition & 1 deletion pkg/minikube/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

// MachineName is the name to use for the VM.
const MachineName = "minikubeVM"
const MachineName = "minikube"

// APIServerPort is the port that the API server should listen on.
const APIServerPort = 8443
Expand Down

0 comments on commit 6fe48af

Please sign in to comment.