1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00
This commit is contained in:
Ivan Mikushin 2015-03-02 22:44:41 +05:00
parent 66a4cd44c1
commit 676680a52f
2 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,3 @@
FROM base
CMD ["udhcpc", "-i", "eth0"]
COPY scripts/dockerimages/scripts/network.sh /
CMD ["/network.sh"]

View File

@ -0,0 +1,4 @@
#!/bin/sh
/sbin/ip addr add 127.0.0.1/8 dev lo
udhcpc -i eth0