forked from TrueCloudLab/frostfs-dev-env
[#47] Use NNS resolver in scripts
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
28f9083e9f
commit
4b72092ced
2 changed files with 5 additions and 3 deletions
|
@ -12,6 +12,7 @@ WALLET="${WALLET:-services/chain/node-wallet.json}"
|
|||
WALLET_IMG="${WALLET_IMG:-wallets/node-wallet.json}"
|
||||
# Wallet password that would be entered automatically; '-' means no password
|
||||
PASSWD="one"
|
||||
NETMAP_ADDR=`bin/resolve.sh netmap.neofs`
|
||||
|
||||
# NeoFS configuration record: key is a string and value is an int
|
||||
KEY=${1}
|
||||
|
@ -33,7 +34,7 @@ echo "Changing ${KEY} configration value to ${VALUE}"
|
|||
-w ${WALLET_IMG} \
|
||||
-a ${ADDR} \
|
||||
-r http://morph_chain.${LOCAL_DOMAIN}:30333 \
|
||||
${NEOFS_IR_CONTRACTS_NETMAP} \
|
||||
${NETMAP_ADDR} \
|
||||
setConfig bytes:beefcafe \
|
||||
string:${KEY} \
|
||||
int:${VALUE} -- ${ADDR} || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue