From 16a164f37355cc2ea272f182f636d38388efa210 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 13 Sep 2024 05:28:55 +0000 Subject: [PATCH] Update L2 Optimism deployment instructions (#27) Part of [Create a public laconicd testnet](https://www.notion.so/Create-a-public-laconicd-testnet-896a11bdd8094eff8f1b49c0be0ca3b8) Co-authored-by: Shreerang Kale Reviewed-on: https://git.vdb.to/cerc-io/testnet-laconicd-stack/pulls/27 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- ops/deployments-from-scratch.md | 15 +++++++++------ testnet-nitro-node.md | 3 ++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ops/deployments-from-scratch.md b/ops/deployments-from-scratch.md index d933896..945d3e1 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -59,10 +59,10 @@ cd testnet-ops/l2-setup ``` -* Copy the `l2-vars-example.yml` vars file: +* Copy the `l2-vars.example.yml` vars file: ```bash - cp l2-vars-example.yml l2-vars.yml + cp l2-vars.example.yml l2-vars.yml ``` * Edit `l2-vars.yml` with required values: @@ -110,10 +110,11 @@ * Edit the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine: ```ini - [l2_host] + [] ansible_host= ansible_user= ansible_ssh_common_args='-o ForwardAgent=yes' ``` + - Replace `` with `l2_host` - Replace `` with the alias of your choice - Replace `` with the IP address or hostname of the target machine - Replace `` with the SSH username (e.g., dev, ubuntu) @@ -147,7 +148,7 @@ cd /srv/op-sepolia L1_RPC=http://host.docker.internal:8545 - L2_RPC=http://host.docker.internal:9545 + L2_RPC=http://op-geth:8545 NETWORK=$(grep 'cluster-id' optimism-deployment/deployment.yml | sed 's/cluster-id: //')_default @@ -267,10 +268,11 @@ * Edit the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine: ```ini - [nitro_host] + [deployment_host] ansible_host= ansible_user= ansible_ssh_common_args='-o ForwardAgent=yes' ``` + - Replace `` with `nitro_host` - Replace `` with the alias of your choice - Replace `` with the IP address or hostname of the target machine - Replace `` with the SSH username (e.g., dev, ubuntu) @@ -433,10 +435,11 @@ * Edit the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine: ```ini - [nitro_host] + [deployment_host] ansible_host= ansible_user= ansible_ssh_common_args='-o ForwardAgent=yes' ``` + - Replace `` with `nitro_host` - Replace `` with the alias of your choice - Replace `` with the IP address or hostname of the target machine - Replace `` with the SSH username (e.g., dev, ubuntu) diff --git a/testnet-nitro-node.md b/testnet-nitro-node.md index 5c83184..b910d9a 100644 --- a/testnet-nitro-node.md +++ b/testnet-nitro-node.md @@ -105,10 +105,11 @@ * Edit the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine: ```ini - [nitro_host] + [deployment_host] ansible_host= ansible_user= ansible_ssh_common_args='-o ForwardAgent=yes' ``` + - Replace `` with `nitro_host` - Replace `` with the alias of your choice - Replace `` with the IP address or hostname of the target machine - Replace `` with the SSH username (e.g., dev, ubuntu)