Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
update references to vagrant ips in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryane committed Aug 15, 2016
1 parent eb25ff7 commit 45035ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Marathon runs on `https://<your-control-ip>:8080` or

Check out the Vagrant README to figure out the IP addresses it will assign. If
you're using the default configuration, you'll have one control node at
"192.168.100.101" and one worker at "192.168.100.201".
"172.20.10.101" and one worker at "172.20.10.201".

#### Cloud

Expand Down Expand Up @@ -209,7 +209,7 @@ If you forget to provide the `--cacert` option to `curl`, you may get a message
like this:

```
$ curl -X POST -H "Content-Type: application/json" -u "admin:hardpass" -d@"hello-world/hello-world.json" "https://192.168.100.101/marathon/v2/apps"
$ curl -X POST -H "Content-Type: application/json" -u "admin:hardpass" -d@"hello-world/hello-world.json" "https://172.20.10.101/marathon/v2/apps"
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
Expand All @@ -228,7 +228,7 @@ If you'd like to turn off curl's verification of the certificate, use
If you forgot to provide the `-X` or `-d` options to `curl`, you may get a
message like this:
```
$ curl -k -H "Content-Type: application/json" -u "admin:hardpass" -d@"hello-world/hello-world.json" "https://192.168.100.101/marathon/v2/apps"
$ curl -k -H "Content-Type: application/json" -u "admin:hardpass" -d@"hello-world/hello-world.json" "https://172.20.10.101/marathon/v2/apps"
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
Expand All @@ -245,8 +245,8 @@ If you remembered both, make sure the path you pass to `-d` exists.
If you forgot to provide the `-H application/json` option to `curl`, you may get
a message like this:
```
$ curl -k -X POST -u "admin:hardpass" -d@"hello-world/hello-world.json" "https://192.168.100.101/marathon/v2/apps"
curl: (6) Could not resolve host:  
$ curl -k -X POST -u "admin:hardpass" -d@"hello-world/hello-world.json" "https://172.20.10.101/marathon/v2/apps"
curl: (6) Could not resolve host:
{"message":"Unsupported Media Type"}
```

Expand Down
4 changes: 2 additions & 2 deletions vagrant/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ in the provided Vagrantfile.
.. data:: worker_ip_start, control_ip_start, edge_ip_start, kubeworker_ip_start

A base IP address which will have its last digit appended. For example, if
``worker_ip_start`` is set to "192.168.100.10", the first worker node will
have the IP address 192.168.100.101, the second will have 192.168.100.102,
``worker_ip_start`` is set to "172.20.10.10", the first worker node will
have the IP address 172.20.10.101, the second will have 172.20.10.102,
etc.

.. data:: worker_memory, control_memory, edge_memory, kubeworker_memory
Expand Down

0 comments on commit 45035ae

Please sign in to comment.