Hack for resolv.conf is back, a bit different this time
This commit is contained in:
parent
f7f560de2e
commit
87856513c6
1 changed files with 2 additions and 1 deletions
|
@ -55,11 +55,12 @@ hack_images() {
|
||||||
# useless, but let's keep it just in case we need to hack something else
|
# useless, but let's keep it just in case we need to hack something else
|
||||||
for dir in ~/microservices-repos/ms-{nova,neutron}*/docker/* ; do
|
for dir in ~/microservices-repos/ms-{nova,neutron}*/docker/* ; do
|
||||||
cp /root/resolv.conf $dir/
|
cp /root/resolv.conf $dir/
|
||||||
sed '/MAINTAINER/a COPY resolv.conf /etc/resolv.conf' -i $dir/Dockerfile.j2
|
sed '/MAINTAINER/a COPY resolv.conf /var/tmp/resolv.conf' -i $dir/Dockerfile.j2
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
create_mcp_conf
|
create_mcp_conf
|
||||||
create_registry
|
create_registry
|
||||||
create_resolvconf
|
create_resolvconf
|
||||||
|
hack_images
|
||||||
build_images
|
build_images
|
||||||
|
|
Loading…
Reference in a new issue