forked from TrueCloudLab/frostfs-testcases
Switch ssh to user alex.
This commit is contained in:
parent
2399abe0ee
commit
aef764b427
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -117,7 +117,7 @@ setup-for-sbercloud:
|
|||
echo NEOFS_ADM_EXEC="neofs-adm" >> .env
|
||||
echo NEOFS_ADM_CONFIG_PATH="/.setup/config.yaml" >> .env
|
||||
# env: SSH connection to storage node host and bin directory on that host
|
||||
echo STORAGE_NODE_SSH_USER="root" >> .env
|
||||
echo STORAGE_NODE_SSH_USER="alex" >> .env
|
||||
echo STORAGE_NODE_SSH_PRIVATE_KEY_PATH="/.setup/id_rsa" >> .env
|
||||
echo STORAGE_NODE_BIN_PATH="/usr/bin" >> .env
|
||||
# env: s3 gateway public key
|
||||
|
|
|
@ -152,7 +152,7 @@ def decode_common_fields(data: dict):
|
|||
header["payloadHash"] = json_reencode(header["payloadHash"]["sum"])
|
||||
header["version"] = f"{header['version']['major']}{header['version']['minor']}"
|
||||
# Homomorphic hash is optional and its calculation might be disabled in trusted network
|
||||
if "homomorphicHash" in header:
|
||||
if header.get("homomorphicHash"):
|
||||
header["homomorphicHash"] = json_reencode(header["homomorphicHash"]["sum"])
|
||||
|
||||
return data
|
||||
|
|
Loading…
Reference in a new issue