1
0
mirror of https://github.com/rancher/os.git synced 2025-08-01 23:17:50 +00:00

Remove cni/bin/bridge and cni/bin/host-local in initrd

This commit is contained in:
niusmallnan 2018-05-12 20:31:46 +08:00
parent 4611e07d90
commit c126ebe8da

View File

@ -13,8 +13,6 @@ cp bin/ros ${INITRD_DIR}/usr/bin/
ln -s usr/bin/ros ${INITRD_DIR}/init
ln -s bin ${INITRD_DIR}/usr/sbin
ln -s usr/sbin ${INITRD_DIR}/sbin
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