Adjust path to wallets in neofs-adm config when preparing configuration.

This commit is contained in:
Vladimir Domnich 2022-07-14 23:23:44 +04:00
parent 7f6cd8e3b0
commit 276dc523e9

View file

@ -84,7 +84,7 @@ setup-for-sbercloud:
cp -r $(CONFIG_DIR)/alphabet-wallets $(SETUP_DIR)
cp -r $(CONFIG_DIR)/wallets $(SETUP_DIR)
# Copy neofs-adm config to setup directory (and adjust path to wallets)
cat $(CONFIG_DIR)/config.yaml | sed "s|alphabet-wallets:.*|alphabet-wallets: /.setup/alphabet-wallets|" > $(SETUP_DIR)/config.yaml
cat $(CONFIG_DIR)/config.yaml | sed "s|alphabet-wallets:.*|alphabet-wallets: $(SETUP_DIR)/alphabet-wallets|" > $(SETUP_DIR)/config.yaml
# Generate .env file (NEO_MAINNET_ENDPOINT might be incorrect, but we don't use it)
echo NEO_MAINNET_ENDPOINT=http://$(NODE1):40333 > $(CURDIR)/.env
echo MORPH_ENDPOINT=http://$(NODE1):40332 >> $(CURDIR)/.env