diff --git a/docs/syncing-files.md b/docs/syncing-files.md index 212a656135..3eb3ecef02 100644 --- a/docs/syncing-files.md +++ b/docs/syncing-files.md @@ -4,14 +4,13 @@ As soon as a VM is created, minikube will populate the root filesystem with any files stored in $MINIKUBE_HOME (~/.minikube/files). -For example, running the following commands will result in /etc/OMG existing within the VM: +For example, running the following commands will result in `/etc/OMG` being added with the contents of `hello` into the minikube VM: + ``` mkdir -p ~/.minikube/files/etc -touch ~/.minikube/files/etc/OMG +echo hello > ~/.minikube/files/etc/OMG minikube start ``` This method of file synchronization can be useful for adding configuration files for apiserver, or adding HTTPS certificates. - -