Skip to content

Commit 93e4d89

Browse files
committed
fix(e2e): configure vm gateway from toml
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent 42aa9ff commit 93e4d89

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

e2e/rust/e2e-vm.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@ cat >"${GATEWAY_CONFIG}" <<EOF
194194
[openshell]
195195
version = 1
196196
197+
[openshell.gateway]
198+
bind_address = "127.0.0.1:${HOST_PORT}"
199+
compute_drivers = ["vm"]
200+
disable_tls = true
201+
197202
[openshell.drivers.vm]
198203
grpc_endpoint = "http://host.openshell.internal:${HOST_PORT}"
199204
driver_dir = "${ROOT}/target/debug"
@@ -202,10 +207,7 @@ EOF
202207

203208
GATEWAY_ARGS=(
204209
--config "${GATEWAY_CONFIG}"
205-
--drivers vm
206-
--disable-tls
207210
--db-url "sqlite:${GATEWAY_DB}?mode=rwc"
208-
--port "${HOST_PORT}"
209211
)
210212
e2e_write_gateway_args_file "${GATEWAY_ARGS_FILE}" "${GATEWAY_ARGS[@]}"
211213

0 commit comments

Comments
 (0)