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
This commit is contained in:
Davanum Srinivas 2019-01-24 11:45:36 -05:00
parent 2cd88258c7
commit 279e1ed117
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -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