Skip to content

Commit eefdecf

Browse files
authored
Merge pull request #10 from bernard357/development/v1.0
fix option for attributes of the driver
2 parents ad39ae1 + 79dca02 commit eefdecf

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

README.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ You will need:
88

99
* A network domain
1010
* A VLAN in that network domain (servers will be attached to this VLAN)
11-
* If using public IP addresses, a firewall rule that permits SSH traffic from your (local) public IPv4 address to the VLAN's IPv4 network
11+
* If using public IP addresses, a firewall rule that permits SSH traffic from your (local) public IPv4 address to the VLAN's IPv4 network
1212
Alternatively, you can use the `--ddcloud-create-ssh-firewall-rule` flag when creating your machine if you have permissions in CloudControl to create firewall and NAT rules
1313
* If using private IP addresses, you will need to be connected to the CloudControl VPN for the target data centre
1414

1515
### Example
1616

1717
```bash
1818
docker-machine create --driver ddcloud \
19-
--ddcloud-mcp-region AU \
19+
--ddcloud-region AU \
2020
--ddcloud-datacenter AU9 \
2121
--ddcloud-networkdomain 'my-docker-domain' \
2222
--ddcloud-vlan 'my-docker-vlan' \
@@ -31,35 +31,31 @@ If you're running on Windows, just remove the backslashes so the whole command i
3131

3232
The driver supports all Docker Machine commands, and can be configured using the following command-line arguments (or environment variables):
3333

34-
* `ddcloud-mcp-user` - The user name used to authenticate to the CloudControl API.
34+
* `ddcloud-user` - The user name used to authenticate to the CloudControl API.
3535
Environment: `MCP_USER`
36-
* `ddcloud-mcp-password` - The password used to authenticate to the CloudControl API.
36+
* `ddcloud-password` - The password used to authenticate to the CloudControl API.
3737
Environment: `MCP_PASSWORD`.
38-
* `ddcloud-mcp-region` - The CloudControl region name (e.g. AU, NA, EU, etc).
39-
Either `ddcloud-mcp-region` or `ddcloud-mcp-endpoint` must be specified.
38+
* `ddcloud-region` - The CloudControl region name (e.g. AU, NA, EU, etc).
4039
Environment: `MCP_REGION`.
41-
* `ddcloud-mcp-endpoint` - A custom end-point URI for the CloudControl API.
42-
Either `ddcloud-mcp-endpoint` or `ddcloud-mcp-region` must be specified.
43-
Environment: `MCP_ENDPOINT`.
4440
* `ddcloud-networkdomain` - The name of the target CloudControl network domain.
4541
* `ddcloud-datacenter` - The name of the CloudControl datacenter (e.g. NA1, AU9) in which the network domain is located.
4642
* `ddcloud-vlan` - The name of the target CloudControl VLAN.
47-
* `ddcloud-image-name` - The name of the OS image used to create the target machine.
48-
Note that only OS images are supported for now, not customer images.
43+
* `ddcloud-image-name` - The name of the OS image used to create the target machine.
44+
Note that only OS images are supported for now, not customer images.
4945
Additionally, the OS must be a Linux distribution supported by docker-machine (Ubuntu 12.04 and above are supported, but RedHat 6 and 7 are not supported due to iptables configuration issues).
50-
* `ddcloud-ssh-user` - The SSH username to use.
51-
Default: "root".
46+
* `ddcloud-ssh-user` - The SSH username to use.
47+
Default: "root".
5248
Environment: `MCP_SSH_USER`.
53-
* `ddcloud-ssh-key` - The SSH key file to use.
49+
* `ddcloud-ssh-key` - The SSH key file to use.
5450
Environment: `MCP_SSH_KEY`.
55-
* `ddcloud-ssh-port` - The SSH port to use.
56-
Default: 22.
51+
* `ddcloud-ssh-port` - The SSH port to use.
52+
Default: 22.
5753
Environment: `MCP_SSH_PORT`.
58-
* `ddcloud-ssh-bootstrap-password` - The initial SSH password used to bootstrap SSH key authentication.
59-
This password is removed once the SSH key has been installed
54+
* `ddcloud-ssh-bootstrap-password` - The initial SSH password used to bootstrap SSH key authentication.
55+
This password is removed once the SSH key has been installed
6056
Environment: `MCP_SSH_BOOTSTRAP_PASSWORD`
6157
* `ddcloud-create-ssh-firewall-rule` - Automatically create a firewall rule to enable inbound SSH to the target server?
62-
* `ddcloud-client-public-ip` - Use the specified IPv4 address as the client's public IP address (don't auto-detect).
58+
* `ddcloud-client-public-ip` - Use the specified IPv4 address as the client's public IP address (don't auto-detect).
6359
Environment: `MCP_CLIENT_PUBLIC_IP`.
6460
* `ddcloud-use-private-ip` - Don't create NAT and firewall rules for target server (you will need to be connected to the VPN for your target data centre).
6561

0 commit comments

Comments
 (0)