diff --git a/etcd/README.md b/etcd/README.md index 651d5bd..f36960b 100644 --- a/etcd/README.md +++ b/etcd/README.md @@ -78,11 +78,11 @@ Now let's set up etcd on ns-azure: ```shell ssh ns-azure.sslip.io -cd /etc/etcd +sudo mkdir /etc/etcd # default's okay: root:root 755 lpass login brian.cunnie@gmail.com --trust sudo curl -OL https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/ca.pem sudo curl -OL https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd.pem -sudo curl -o etcd.conf -L https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd-azure.conf +sudo curl -o /etc/default/etcd -L https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd-azure.conf lpass show --note etcd-ca-key.pem | sudo tee ca-key.pem lpass show --note etcd-key.pem | sudo tee etcd-key.pem sudo chmod 400 *key* diff --git a/etcd/etcd-azure.conf b/etcd/etcd-azure.conf index b6460c4..cfdd400 100644 --- a/etcd/etcd-azure.conf +++ b/etcd/etcd-azure.conf @@ -1,6 +1,6 @@ # [member] ETCD_NAME=ns-azure -ETCD_DATA_DIR="/var/lib/etcd/default.etcd" +ETCD_DATA_DIR="/var/lib/etcd/default" #ETCD_WAL_DIR="" #ETCD_SNAPSHOT_COUNT="10000" #ETCD_HEARTBEAT_INTERVAL="100"