aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0006-build-docker-Use-host-s-network-stack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/opnfv-fuel/0006-build-docker-Use-host-s-network-stack.patch')
-rw-r--r--patches/opnfv-fuel/0006-build-docker-Use-host-s-network-stack.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/patches/opnfv-fuel/0006-build-docker-Use-host-s-network-stack.patch b/patches/opnfv-fuel/0006-build-docker-Use-host-s-network-stack.patch
deleted file mode 100644
index bf52fc23..00000000
--- a/patches/opnfv-fuel/0006-build-docker-Use-host-s-network-stack.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-: Copyright (c) 2017 Enea AB and others.
-:
-: All rights reserved. This program and the accompanying materials
-: are made available under the terms of the Apache License, Version 2.0
-: which accompanies this distribution, and is available at
-: http://www.apache.org/licenses/LICENSE-2.0
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-Date: Mon, 29 Aug 2016 22:58:49 +0200
-Subject: [PATCH] build: docker: Use host's /etc/hosts
-
-The original motivation was pointing to local mirrors via host's
-"/etc/hosts", for which an alternative solution tested was
-"--net=host" (see [1] for full description), but lead to wierd
-loss of connectivity after a few builds.
-
-[1] https://docs.docker.com/v1.8/articles/networking/
-
-Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
----
- build/docker/runcontext | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build/docker/runcontext b/build/docker/runcontext
-index 07b0dc1..b0d6d37 100755
---- a/build/docker/runcontext
-+++ b/build/docker/runcontext
-@@ -121,6 +121,7 @@ RUN_CONTEXT_OPT="--cidfile $CID_FILE --privileged=true --rm --net=host \
- -e MIRROR_MOS_UBUNTU -e MIRROR_MOS_UBUNTU_ROOT -e MIRROR_FUEL \
- -e LATEST_TARGET_UBUNTU -e UBUNTU_ARCH -e OPNFV_GIT_SHA -e ARMBAND_BASE \
- -u $USER_ID:$GROUP_ID -w $PWD \
-+ -v /etc/hosts:/etc/hosts \
- -v $GITROOT:$GITROOT -v /sys/fs/cgroup:/sys/fs/cgroup:ro $CACHEMOUNT"
-
- # Passing "debug" puts up an interactive bash shell