From 63ffbd952e63bd7690e8d282373dc8ff8c4f7a20 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Thu, 2 Apr 2020 11:29:43 -0700 Subject: [PATCH] Rewrite --mount-string since it depends on host --- pkg/generate/rewrite.go | 3 +++ site/content/en/docs/Reference/Commands/start.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/generate/rewrite.go b/pkg/generate/rewrite.go index b19c9e4ff7..b289699903 100644 --- a/pkg/generate/rewrite.go +++ b/pkg/generate/rewrite.go @@ -35,6 +35,9 @@ func rewriteFlags(command *cobra.Command, contents string) string { "start": []rewrite{{ flag: "--driver", description: "Used to specify the driver to run kubernetes in. The list of available drivers depends on operating system.", + }, { + flag: "--mount-string", + description: "The argument to pass the minikube mount command on start.", }}, } rws, ok := rewrites[command.Name()] diff --git a/site/content/en/docs/Reference/Commands/start.md b/site/content/en/docs/Reference/Commands/start.md index 72d4db6bc9..536e837b39 100644 --- a/site/content/en/docs/Reference/Commands/start.md +++ b/site/content/en/docs/Reference/Commands/start.md @@ -75,7 +75,7 @@ minikube start [flags] --kvm-qemu-uri string The KVM QEMU connection URI. (kvm2 driver only) (default "qemu:///system") --memory string Amount of RAM to allocate to Kubernetes (format: [], where unit = b, k, m or g). --mount This will start the mount daemon and automatically mount files into minikube. - --mount-string string The argument to pass the minikube mount command on start. (default "/Users:/minikube-host") + --mount-string The argument to pass the minikube mount command on start. --nat-nic-type string NIC Type used for host only network. One of Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, or virtio (virtualbox driver only) (default "virtio") --native-ssh Use native Golang SSH client (default true). Set to 'false' to use the command line 'ssh' command when accessing the docker machine. Useful for the machine drivers when they will not start with 'Waiting for SSH'. (default true) --network-plugin string The name of the network plugin.