Skip to content

Commit

Permalink
Merge remote-tracking branch 'mookie-/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasProgrammer committed Mar 4, 2023
2 parents 13bf4f8 + e789df8 commit 3a85dc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3a85dc5

Please sign in to comment.