Commit 9fda26e5 authored by Brendan Burns's avatar Brendan Burns

Switch to loading busybox from gcr.

parent c4d040c7
......@@ -280,8 +280,8 @@ function verify_from_container() {
echo "waiting for $1 at $2:$3"
results=($(ssh-to-node "${test_node}" "
set -e;
sudo docker pull busybox >/dev/null;
sudo docker run busybox sh -c '
sudo docker pull gcr.io/google_containers/busybox >/dev/null;
sudo docker run gcr.io/google_containers/busybox sh -c '
for i in $(seq -s' ' 1 $(($4*3))); do
if wget -q -T 3 -O - http://$2:$3; then
echo
......
......@@ -172,7 +172,7 @@ func makeCheckPod(ns string, nfsserver string) *api.Pod {
Containers: []api.Container{
{
Name: "scrub-checker",
Image: "busybox",
Image: "gcr.io/google_containers/busybox",
Command: []string{"/bin/sh"},
Args: []string{"-c", "test ! -e /mnt/index.html || exit 1"},
VolumeMounts: []api.VolumeMount{
......
......@@ -76,7 +76,7 @@ func testPreStop(c *client.Client, ns string) {
Containers: []api.Container{
{
Name: "tester",
Image: "busybox",
Image: "gcr.io/google_containers/busybox",
Command: []string{"sleep", "600"},
Lifecycle: &api.Lifecycle{
PreStop: &api.Handler{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment