From 279e1ed117aaa6369ac001527bf25e5049af585a Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 24 Jan 2019 11:45:36 -0500 Subject: [PATCH] Run apt-get update before installing sudo recent changes to kubekins broke local-e2e with the following error ``` E: Unable to locate package sudo ``` Change-Id: I9ad324a2a070bc068ed1f0f88a912eafb191ad90 --- hack/local-up-cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index c3b83ae96d1..04a4dc45604 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -1038,7 +1038,7 @@ if [[ "${KUBETEST_IN_DOCKER:-}" == "true" ]]; then export PATH="${KUBE_ROOT}/third_party/etcd:${PATH}" KUBE_FASTBUILD=true make ginkgo cross - apt install -y sudo + apt-get update && apt-get install -y sudo apt-get remove -y systemd # configure shared mounts to prevent failure in DIND scenarios