feat: support username flag. (#45)

* feat: support username flag.
This commit is contained in:
Bo-Yi Wu
2017-02-21 11:44:37 +08:00
committed by GitHub
parent 7871a8e9f5
commit 833d26f473
5 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Execute from the working directory:
```sh
docker run --rm \
-e PLUGIN_HOST=foo.com \
-e PLUGIN_USER=root \
-e PLUGIN_USERNAME=root \
-e PLUGIN_KEY="$(cat ${HOME}/.ssh/id_rsa)" \
-e PLUGIN_SCRIPT=whoami \
-v $(pwd):$(pwd) \