1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 18:20:32 +00:00

Get rid of the system-docker-proxy

This commit is contained in:
niusmallnan
2018-03-08 10:23:12 +08:00
parent f6a76a10ae
commit a16c56f7be

View File

@@ -17,6 +17,8 @@ ln -s ../../../../usr/bin/ros ${INITRD_DIR}/usr/var/lib/cni/bin/bridge
ln -s ../../../../usr/bin/ros ${INITRD_DIR}/usr/var/lib/cni/bin/host-local
curl -SL ${!SYSTEM_DOCKER_URL} | tar --strip-components=1 -xzvf - -C ${INITRD_DIR}/usr/bin/
# we have diabled the user-proxy so we get rid of system-docker-proxy
rm -f ${INITRD_DIR}/usr/bin/system-docker-proxy
cat <<HERE > ${INITRD_DIR}/usr/share/ros/os-release
NAME="RancherOS"