Skip to content
Commits on Source (3)
......@@ -15,8 +15,8 @@ You can find sources and pre-compiled binaries [here](https://github.com/JonasPr
```bash
# Download the binary (this example downloads the binary for linux amd64)
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.12.0/docker-machine-driver-hetzner_3.12.0_linux_amd64.tar.gz
$ tar -xvf docker-machine-driver-hetzner_3.12.0_linux_amd64.tar.gz
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.12.1/docker-machine-driver-hetzner_3.12.1_linux_amd64.tar.gz
$ tar -xvf docker-machine-driver-hetzner_3.12.1_linux_amd64.tar.gz
# Make it executable and copy the binary in a directory accessible with your $PATH
$ chmod +x docker-machine-driver-hetzner
......@@ -113,7 +113,7 @@ $ docker-machine create \
- `--hetzner-ssh-user`: Change the default SSH-User
- `--hetzner-ssh-port`: Change the default SSH-Port
- `--hetzner-primary-ipv4/6`: Sets an existing primary IP (v4 or v6 respectively) for the server, as documented in [Networking](#networking)
- `--wait-on-error`: Amount of seconds to wait on server creation failure (0/no wait by default)
- `--hetzner-wait-on-error`: Amount of seconds to wait on server creation failure (0/no wait by default)
#### Existing SSH keys
......@@ -159,7 +159,7 @@ was used during creation.
| `--hetzner-ssh-port` | `HETZNER_SSH_PORT` | 22 |
| `--hetzner-primary-ipv4` | `HETZNER_PRIMARY_IPV4` | |
| `--hetzner-primary-ipv6` | `HETZNER_PRIMARY_IPV6` | |
| `--wait-on-error` | `WAIT_ON_ERROR` | 0 |
| `--hetzner-wait-on-error` | `HETZNER_WAIT_ON_ERROR` | 0 |
#### Networking
......
......@@ -102,7 +102,7 @@ const (
defaultSSHPort = 22
defaultSSHUser = "root"
flagWaitOnError = "wait-on-error"
flagWaitOnError = "hetzner-wait-on-error"
defaultWaitOnError = 0
legacyFlagUserDataFromFile = "hetzner-user-data-from-file"
......@@ -275,7 +275,7 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
Value: defaultSSHPort,
},
mcnflag.IntFlag{
EnvVar: "WAIT_ON_ERROR",
EnvVar: "HETZNER_WAIT_ON_ERROR",
Name: flagWaitOnError,
Usage: "Wait if an error happens while creating the server",
Value: defaultWaitOnError,
......