From a0dbb5750a42a7657782204ea7bc3c0448f5cb29 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Thu, 5 Sep 2024 12:58:10 -0400 Subject: [PATCH] feat: cleanup --- .../templates/jobs/mev-commit-geth.nomad.j2 | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 index c12fc33ff..2f9620034 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 @@ -35,33 +35,33 @@ job "{{ job.name }}" { {% endfor %} } -config { - cni_config = jsonencode({ - "cniVersion": "0.4.0", // Updated CNI version - "name": "{{ job.name }}-network", - "plugins": [ - { - "type": "bridge", // CNI plugin type - "bridge": "br0", - "isGateway": true, - "ipMasq": true, - "ipam": { - "type": "host-local", - "subnet": "172.16.30.0/24", - "routes": [ - { - "dst": "0.0.0.0/0" + config { + cni_config = jsonencode({ + "cniVersion": "0.4.0", + "name": "geth-network", + "plugins": [ + { + "type": "bridge", + "bridge": "br0", + "isGateway": true, + "ipMasq": true, + "ipam": { + "type": "host-local", + "subnet": "172.16.30.0/24", + "routes": [ + { + "dst": "0.0.0.0/0" + } + ] } - ] - } - }, - { - "type": "portmap", - "capabilities": { "portMappings": true } - } - ] - }) -} + }, + { + "type": "portmap", + "capabilities": { "portMappings": true } + } + ] + }) + } task "node" { driver = "exec"