From 8e0b80b0156b71b5261e2a4246fd28dfdeb7179e Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Thu, 30 Apr 2015 15:10:26 -0400 Subject: [PATCH] generic: rename generic-user to generic-ssh-user; update docs Signed-off-by: Evan Hazlett --- docs/index.md | 12 ++++++++++++ drivers/generic/generic.go | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index f6c3c50a47..b0cbc2302e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -999,6 +999,18 @@ Options: The DigitalOcean driver will use `ubuntu-14-04-x64` as the default image. +#### Generic +Create machines using an existing VM/Host with SSH + +Options: + + - `--generic-ip-address`: IP Address of host + - `--generic-ssh-user`: SSH username used to connect (default: `root`) + - `--generic-ssh-key`: Path to the SSH user private key + - `--generic-ssh-port`: Port to use for SSH (default: `22`) + +> Note: you must use a base Operating System supported by Machine + #### Google Compute Engine Create machines on [Google Compute Engine](https://cloud.google.com/compute/). You will need a Google account and project name. See https://cloud.google.com/compute/docs/projects for details on projects. diff --git a/drivers/generic/generic.go b/drivers/generic/generic.go index 5beb39a23f..4b70c6f5f9 100644 --- a/drivers/generic/generic.go +++ b/drivers/generic/generic.go @@ -46,8 +46,8 @@ func GetCreateFlags() []cli.Flag { Value: "", }, cli.StringFlag{ - Name: "generic-user", - Usage: "User to use for machine", + Name: "generic-ssh-user", + Usage: "SSH user", Value: "root", }, cli.StringFlag{