Skip to content

Commit 7f015cc

Browse files
committed
#9 Prepare 1.0.0 release with new default image ubuntu-16.04
1 parent b58418b commit 7f015cc

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ You can find sources and pre-compiled binaries [here](https://github.com/JonasPr
1515

1616
```shell
1717
# Download the binary (this example downloads the binary for linux amd64)
18-
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/0.2.7/docker-machine-driver-hetzner_0.2.7_linux_amd64.tar.gz
19-
$ tar -xvf docker-machine-driver-hetzner_0.2.7_linux_amd64.tar.gz
18+
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/1.0.0/docker-machine-driver-hetzner_1.0.0_linux_amd64.tar.gz
19+
$ tar -xvf docker-machine-driver-hetzner_1.0.0_linux_amd64.tar.gz
2020

2121
# Make it executable and copy the binary in a directory accessible with your $PATH
2222
$ chmod +x docker-machine-driver-hetzner
@@ -42,17 +42,15 @@ $ cp docker-machine-driver-hetzner /usr/local/bin/
4242
## Options
4343

4444
- `--hetzner-api-token`: **required**. Your project-specific access token for the Hetzner Cloud API.
45-
- `--hetzner-image`: The name of the Hetzner Cloud image to use, see [Images API](https://docs.hetzner.cloud/#resources-images-get) for how to get a list.
46-
- `--hetzner-server-type`: The type of the Hetzner Cloud server, see [Server Types API](https://docs.hetzner.cloud/#resources-server-types-get) for how to get a list.
45+
- `--hetzner-image`: The name of the Hetzner Cloud image to use, see [Images API](https://docs.hetzner.cloud/#resources-images-get) for how to get a list (defaults to `ubuntu-16.04`).
46+
- `--hetzner-server-type`: The type of the Hetzner Cloud server, see [Server Types API](https://docs.hetzner.cloud/#resources-server-types-get) for how to get a list (defaults to `cx11`).
4747
- `--hetzner-server-location`: The location to create the server in, see [Locations API](https://docs.hetzner.cloud/#resources-locations-get) for how to get a list.
4848
**NOTICE: Beware that Hetzner does not reject invalid location names at the time of writing this; instead, a seemingly random location is chosen. Double check both the option value's
4949
spelling and the newly created server to make sure the desired location was chosen indeed.**
5050
- `--hetzner-existing-key-path`: Use an existing (local) SSH key instead of generating a new keypair.
5151
- `--hetzner-existing-key-id`: **requires `--hetzner-existing-key-path`**. Use an existing (remote) SSH key instead of uploading the imported key pair,
5252
see [SSH Keys API](https://docs.hetzner.cloud/#resources-ssh-keys-get) for how to get a list
5353

54-
The Hetzner Cloud driver will use `debian-9` as the default image and `cx11` as the default type.
55-
5654
#### Existing SSH keys
5755

5856
When you specify the `--hetzner-existing-key-path` option, the driver will attempt to copy `(specified file name)`

driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type Driver struct {
3939
}
4040

4141
const (
42-
defaultImage = "debian-9"
42+
defaultImage = "ubuntu-16.04"
4343
defaultType = "cx11"
4444

4545
flagAPIToken = "hetzner-api-token"

0 commit comments

Comments
 (0)