diff --git a/README.md b/README.md index 1f38cf5c249be50a58f9930be6d308194660dfd4..2ca74db36d79ce6e09f7240fe6aa63554ce81c8b 100644 --- a/README.md +++ b/README.md @@ -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/1.4.0/docker-machine-driver-hetzner_1.4.0_linux_amd64.tar.gz -$ tar -xvf docker-machine-driver-hetzner_1.4.0_linux_amd64.tar.gz +$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/2.0.0/docker-machine-driver-hetzner_2.0.0_linux_amd64.tar.gz +$ tar -xvf docker-machine-driver-hetzner_2.0.0_linux_amd64.tar.gz # Make it executable and copy the binary in a directory accessible with your $PATH $ chmod +x docker-machine-driver-hetzner @@ -91,7 +91,7 @@ $ docker-machine create \ ## Options - `--hetzner-api-token`: **required**. Your project-specific access token for the Hetzner Cloud API. -- `--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`). +- `--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-18.04`). - `--hetzner-image-id`: The id of the Hetzner cloud image (or snapshot) to use, see [Images API](https://docs.hetzner.cloud/#resources-images-get) for how to get a list (mutually excludes `--hetzner-image`). - `--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`). - `--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. diff --git a/driver.go b/driver.go index 3f3bbe66275252cfbaeb55e1f7d8ba342fcce9d8..37d179de1aab23f8d816c4565fba6808f2743a58 100644 --- a/driver.go +++ b/driver.go @@ -43,7 +43,7 @@ type Driver struct { } const ( - defaultImage = "ubuntu-16.04" + defaultImage = "ubuntu-18.04" defaultType = "cx11" flagAPIToken = "hetzner-api-token"