add etc hosts
This commit is contained in:
10
README.md
10
README.md
@@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
## Config
|
## Config
|
||||||
|
|
||||||
|
### /etc/hosts
|
||||||
|
|
||||||
|
```bash
|
||||||
|
3.14.3.102 red
|
||||||
|
3.14.3.103 grey
|
||||||
|
3.14.3.107 purple
|
||||||
|
```
|
||||||
|
|
||||||
### Generate Certs
|
### Generate Certs
|
||||||
|
|
||||||
Pick one server to act as the CA.
|
Pick one server to act as the CA.
|
||||||
@@ -81,8 +89,8 @@ vim req-csr.json:
|
|||||||
"CN": "etcd",
|
"CN": "etcd",
|
||||||
"hosts": [
|
"hosts": [
|
||||||
"3.14.3.102",
|
"3.14.3.102",
|
||||||
"3.14.3.107",
|
|
||||||
"3.14.3.103",
|
"3.14.3.103",
|
||||||
|
"3.14.3.107",
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
],
|
],
|
||||||
"key": {
|
"key": {
|
||||||
|
|||||||
Reference in New Issue
Block a user