scripts/testversions: replace apikey with access
Change-Id: I4f899cc49b63b2f04f31a6df478475d7bdbab30d
This commit is contained in:
parent
1e77cb88e7
commit
0c365d157f
@ -50,9 +50,9 @@ shasum $(which uplink)
|
||||
|
||||
if [ ! -d ${main_cfg_dir}/uplink ]; then
|
||||
mkdir -p ${main_cfg_dir}/uplink
|
||||
api_key=$(storj-sim --config-dir=$main_cfg_dir network env GATEWAY_0_API_KEY)
|
||||
access=$(storj-sim --config-dir=$main_cfg_dir network env GATEWAY_0_ACCESS)
|
||||
sat_addr=$(storj-sim --config-dir=$main_cfg_dir network env SATELLITE_0_ADDR)
|
||||
uplink setup --non-interactive --api-key="$api_key" --satellite-addr="$sat_addr" --config-dir="${main_cfg_dir}/uplink" --enc.encryption-key="TestEncKey"
|
||||
uplink import --access="$access" --satellite-addr="$sat_addr" --config-dir="${main_cfg_dir}/uplink" --enc.encryption-key="TestEncKey"
|
||||
fi
|
||||
|
||||
echo -e "\nConfig directory for satellite:"
|
||||
|
Loading…
Reference in New Issue
Block a user