Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Docker-Machine Driver Hetzner
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
JonasProgrammer
Docker-Machine Driver Hetzner
Commits
77c20029
Commit
77c20029
authored
2 years ago
by
Simon Ostendorf
Committed by
JonasS
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: variable naming convention for rancher
parent
f4da5fba
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
driver.go
+4
-4
4 additions, 4 deletions
driver.go
with
7 additions
and
7 deletions
README.md
+
3
−
3
View file @
77c20029
...
@@ -148,8 +148,8 @@ was used during creation.
...
@@ -148,8 +148,8 @@ was used during creation.
|
`--hetzner-firewalls`
|
`HETZNER_FIREWALLS`
| |
|
`--hetzner-firewalls`
|
`HETZNER_FIREWALLS`
| |
|
`--hetzner-volumes`
|
`HETZNER_VOLUMES`
| |
|
`--hetzner-volumes`
|
`HETZNER_VOLUMES`
| |
|
`--hetzner-use-private-network`
|
`HETZNER_USE_PRIVATE_NETWORK`
| false |
|
`--hetzner-use-private-network`
|
`HETZNER_USE_PRIVATE_NETWORK`
| false |
|
`--hetzner-disable-public-
4`
|
`HETZNER_DISABLE_PUBLIC_
4`
| false |
|
`--hetzner-disable-public-
ipv4`
|
`HETZNER_DISABLE_PUBLIC_
IPV4`
| false |
|
`--hetzner-disable-public-
6`
|
`HETZNER_DISABLE_PUBLIC_
6`
| false |
|
`--hetzner-disable-public-
ipv6`
|
`HETZNER_DISABLE_PUBLIC_
IPV6`
| false |
|
`--hetzner-disable-public`
|
`HETZNER_DISABLE_PUBLIC`
| false |
|
`--hetzner-disable-public`
|
`HETZNER_DISABLE_PUBLIC`
| false |
|
`--hetzner-server-label`
| (inoperative) |
`[]`
|
|
`--hetzner-server-label`
| (inoperative) |
`[]`
|
|
`--hetzner-key-label`
| (inoperative) |
`[]`
|
|
`--hetzner-key-label`
| (inoperative) |
`[]`
|
...
@@ -177,7 +177,7 @@ Hetzner assigns them at the given time, so users should take care what retention
...
@@ -177,7 +177,7 @@ Hetzner assigns them at the given time, so users should take care what retention
When disabling all public IPs,
`--hetzner-use-private-network`
must be given.
When disabling all public IPs,
`--hetzner-use-private-network`
must be given.
`--hetzner-disable-public`
will take care of that, and behaves as if
`--hetzner-disable-public`
will take care of that, and behaves as if
`--hetzner-disable-public-4 --hetzner-disable-public-6 --hetzner-use-private-network`
`--hetzner-disable-public-
ipv
4 --hetzner-disable-public-
ipv
6 --hetzner-use-private-network`
were given.
were given.
Using
`--hetzner-use-private-network`
implicitly or explicitly requires at least one
`--hetzner-network`
Using
`--hetzner-use-private-network`
implicitly or explicitly requires at least one
`--hetzner-network`
to be given.
to be given.
...
...
This diff is collapsed.
Click to expand it.
driver.go
+
4
−
4
View file @
77c20029
...
@@ -78,8 +78,8 @@ const (
...
@@ -78,8 +78,8 @@ const (
flagVolumes
=
"hetzner-volumes"
flagVolumes
=
"hetzner-volumes"
flagNetworks
=
"hetzner-networks"
flagNetworks
=
"hetzner-networks"
flagUsePrivateNetwork
=
"hetzner-use-private-network"
flagUsePrivateNetwork
=
"hetzner-use-private-network"
flagDisablePublic4
=
"hetzner-disable-public-4"
flagDisablePublic4
=
"hetzner-disable-public-
ipv
4"
flagDisablePublic6
=
"hetzner-disable-public-6"
flagDisablePublic6
=
"hetzner-disable-public-
ipv
6"
flagPrimary4
=
"hetzner-primary-ipv4"
flagPrimary4
=
"hetzner-primary-ipv4"
flagPrimary6
=
"hetzner-primary-ipv6"
flagPrimary6
=
"hetzner-primary-ipv6"
flagDisablePublic
=
"hetzner-disable-public"
flagDisablePublic
=
"hetzner-disable-public"
...
@@ -201,12 +201,12 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
...
@@ -201,12 +201,12 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
Usage
:
"Use private network"
,
Usage
:
"Use private network"
,
},
},
mcnflag
.
BoolFlag
{
mcnflag
.
BoolFlag
{
EnvVar
:
"HETZNER_DISABLE_PUBLIC_4"
,
EnvVar
:
"HETZNER_DISABLE_PUBLIC_
IPV
4"
,
Name
:
flagDisablePublic4
,
Name
:
flagDisablePublic4
,
Usage
:
"Disable public ipv4"
,
Usage
:
"Disable public ipv4"
,
},
},
mcnflag
.
BoolFlag
{
mcnflag
.
BoolFlag
{
EnvVar
:
"HETZNER_DISABLE_PUBLIC_6"
,
EnvVar
:
"HETZNER_DISABLE_PUBLIC_
IPV
6"
,
Name
:
flagDisablePublic6
,
Name
:
flagDisablePublic6
,
Usage
:
"Disable public ipv6"
,
Usage
:
"Disable public ipv6"
,
},
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment