mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-13 11:00:06 -03:30
Hack for resolv.conf is back, a bit different this time
This commit is contained in:
parent
f7f560de2e
commit
87856513c6
@ -55,11 +55,12 @@ hack_images() {
|
||||
# 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
|
||||
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
|
||||
}
|
||||
|
||||
create_mcp_conf
|
||||
create_registry
|
||||
create_resolvconf
|
||||
hack_images
|
||||
build_images
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user