nimbus.mainnet: fix location of node DB folder

We've gotten rid of the `shared_{network}_0` subfolder:
https://github.com/status-im/infra-role-beacon-node-linux/commit/f4259bdf

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-08-08 11:37:27 +02:00
parent 974ab511a7
commit 470f24cf5c
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931

View File

@ -8,7 +8,6 @@ beacon_node_repo_branch: '{{ (node.branch == "libp2p") | ternary("nim-libp2p-aut
service_number: '{{ node.get("num", False) | ternary(("-%02d"|format(node.get("num", 0))), "") }}'
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.branch | mandatory }}{{ service_number }}'
beacon_node_service_path: '/data/{{ beacon_node_service_name }}'
beacon_node_data_folder: 'shared_{{ beacon_node_network }}_0'
beacon_node_era_symlink_path: '{{ nimbus_era_files_timer_enabled | ternary(nimbus_era_files_timer_path, false) }}'
# Ports
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
@ -45,7 +44,7 @@ nimbus_era_files_timer_path: '/data/era'
# FIXME: Not pretty, since hardcoded, but the simplest way to do it right now.
nimbus_era_files_node_service_path: '/data/beacon-node-{{ beacon_node_network }}-stable-01'
nimbus_era_files_nclidb_path: '{{ nimbus_era_files_node_service_path }}/repo/build/ncli_db'
nimbus_era_files_db_path: '{{ nimbus_era_files_node_service_path }}/data/{{ beacon_node_data_folder }}/db'
nimbus_era_files_db_path: '{{ nimbus_era_files_node_service_path }}/data/db'
# Split by hostname for more central location
nodes_layout: