Add support for USE_SCREEN.
Closes-Bug:
@@ -251,7 +251,8 @@ function run_docker {
local dockerd_bin=$(which dockerd)
run_process docker \
"$dockerd_bin --debug=true \
- -H unix://$KURYR_DOCKER_ENGINE_SOCKET_FILE" "root" "root"
+ -H unix://$KURYR_DOCKER_ENGINE_SOCKET_FILE" "" "root"
+
# We put the stack user as owner of the socket so we do not need to
# run the Docker commands with sudo when developing.
echo -n "Waiting for Docker to create its socket file"
@@ -442,7 +443,7 @@ function run_k8s_kubelet {
--cert-dir=${KURYR_HYPERKUBE_DATA_DIR}/kubelet.cert \
--root-dir=${KURYR_HYPERKUBE_DATA_DIR}/kubelet"
wait_for "Kubernetes API Server" "$KURYR_K8S_API_URL"
- run_process kubelet "$command" root root
+ run_process kubelet "$command" "" "root"
}
function run_kuryr_kubernetes {
