Skip to content

Commit

Permalink
Change defaults to Ubuntu (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
outcatcher authored Apr 10, 2020
1 parent fcf8de8 commit 17b7422
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ docker-machine create -d otc --otc-cloud otc default

**Machine with following setup will be started:**
- **Flavor** `s2.large.2`
- **Image** `Standard_Debian_10_latest`
- **Image** `Standard_Ubuntu_18.04_latest`

*Removing machine will remove all resources created on machine creation*

Expand Down Expand Up @@ -68,7 +68,7 @@ Flag | Env variable | Default value | Description
`--otc-floating-ip` | `OS_FLOATING_IP` | | Floating IP to use
`--otc-floating-ip-type` | `OS_FLOATING_IP_TYPE` | 5_bgp | Bandwidth type (either `5_bgp` or `5_mailbgp`)
`--otc-image-id` | `IMAGE_ID` | | Image id to use for the instance
`--otc-image-name` | `OS_IMAGE_NAME` | Standard_Debian_10_latest | Image name to use for the instance
`--otc-image-name` | `OS_IMAGE_NAME` | Standard_Ubuntu_18.04_latest | Image name to use for the instance
`--otc-ip-version ` | `OS_IP_VERSION` | 4 | Version of IP address assigned for the machine (only 4 is supported by OTC for now)
`--otc-k8s-group` | | | Create security group with k8s ports allowed
`--otc-keypair-name` | `OS_KEYPAIR_NAME` | | Key pair to use to SSH to the instance
Expand All @@ -83,7 +83,7 @@ Flag | Env variable | Default value | Description
`--otc-skip-default-sg` | | | Don't create default security group
`--otc-skip-ip` | | | If set, elastic IP won't be created, machine IP will be set to instance local IP
`--otc-ssh-port` | `OS_SSH_PORT` | 22 | Machine SSH port
`--otc-ssh-user` | `SSH_USER` | linux | SSH user
`--otc-ssh-user` | `SSH_USER` | ubuntu | SSH user
`--otc-subnet-id` | `SUBNET_ID` | | Subnet id the machine will be connected on
`--otc-subnet-name` | `SUBNET_NAME` | subnet-docker-machine | Subnet name the machine will be connected on
`--otc-token` | `OS_TOKEN` | | Authorization token
Expand Down
4 changes: 2 additions & 2 deletions driver/opentelekomcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const (
defaultSecurityGroup = "docker-machine-grp"
defaultAZ = "eu-de-03"
defaultFlavor = "s2.large.2"
defaultImage = "Standard_Debian_10_latest"
defaultSSHUser = "linux"
defaultImage = "Standard_Ubuntu_18.04_latest"
defaultSSHUser = "ubuntu"
defaultSSHPort = 22
defaultRegion = "eu-de"
defaultAuthURL = "https://iam.eu-de.otc.t-systems.com/v3"
Expand Down

0 comments on commit 17b7422

Please sign in to comment.