add geth_extra_data in form of hostname

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-28 08:30:44 -04:00
parent f8bd15d776
commit 060cdf13d1
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,9 @@ geth_account_addr: ~
geth_account_pass: ~
geth_account_json: ~
# Geth miner extra data
geth_extra_data: '{{ hostname }}'
# Container config
geth_cont_image: 'ethereum/client-go:v1.8.27'
geth_cont_name: 'geth'

View File

@ -43,6 +43,7 @@
{% if geth_metrics_enabled %}
--metrics
{% endif %}
--extradata={{ geth_extra_data }}
--verbosity={{ geth_log_level_id }}
--cache={{ geth_cache }}
--maxpeers={{ geth_max_peers }}