Can not add more than one custom host

I am in no internet access environment. Using a private Registry.
os: ubuntu 14.04
docker: 1.12.5
rancher: 1.3.1

the problem is while add second custom host, the first custom agent will exit with 127.

thanks a lot for reply.