We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 230ccab commit 32b3d2aCopy full SHA for 32b3d2a
1 file changed
test/eos-grpc-test
@@ -7,12 +7,17 @@ host=${2-"localhost"}
7
grpc_port=${3-"50051"}
8
grpc_endpoint="${host}:${grpc_port}"
9
url=root://$host
10
+host_ips=($(hostname -i))
11
12
test -z "$1" && echo "error: must specify test directory " && exit -1
13
test -z "$2" && echo "error: must specify FQDN of GRPC endpoint" && exit -1
14
15
authkey=12345678
16
17
+for ip in "${host_ips[@]}"; do
18
+ eos vid add gateway "$ip" grpc
19
+done
20
+
21
eos vid add gateway "127.0.0.1" grpc
22
eos vid add gateway "[:1]" grpc
23
eos vid add gateway "[::1]" grpc
0 commit comments