Code review feedback.

pull/2382/head
dlorenc 2018-01-02 13:32:47 -08:00 committed by dlorenc
parent e3f3727b4d
commit 59274b22da
2 changed files with 3 additions and 3 deletions

View File

@ -371,8 +371,8 @@ func init() {
startCmd.Flags().String(hypervVirtualSwitch, "", "The hyperv virtual switch name. Defaults to first found. (only supported with HyperV driver)")
startCmd.Flags().String(kvmNetwork, "default", "The KVM network name. (only supported with KVM driver)")
startCmd.Flags().String(xhyveDiskDriver, "ahci-hd", "The disk driver to use [ahci-hd|virtio-blk] (only supported with xhyve driver)")
startCmd.Flags().StringSlice(NFSShare, []string{}, "Local folders to share with Guest via NFS mounts")
startCmd.Flags().String(NFSSharesRoot, "/nfsshares", "Where to root the NFS Shares (defaults to /nfsshares)")
startCmd.Flags().StringSlice(NFSShare, []string{}, "Local folders to share with Guest via NFS mounts (Only supported on with hyperkit now)")
startCmd.Flags().String(NFSSharesRoot, "/nfsshares", "Where to root the NFS Shares (defaults to /nfsshares, only supported with hyperkit now)")
startCmd.Flags().StringArrayVar(&dockerEnv, "docker-env", nil, "Environment variables to pass to the Docker daemon. (format: key=value)")
startCmd.Flags().StringArrayVar(&dockerOpt, "docker-opt", nil, "Specify arbitrary flags to pass to the Docker daemon. (format: key=value)")
startCmd.Flags().String(apiServerName, constants.APIServerName, "The apiserver name which is used in the generated certificate for localkube/kubernetes. This can be used if you want to make the apiserver available from outside the machine")

View File

@ -297,7 +297,7 @@ func (d *Driver) setupNFSShare() error {
}
func (d *Driver) nfsExportIdentifier(path string) string {
return fmt.Sprintf("docker-machine-driver-hyperkit %s-%s", d.MachineName, path)
return fmt.Sprintf("minikube-hyperkit %s-%s", d.MachineName, path)
}
func (d *Driver) sendSignal(s os.Signal) error {