miragesdk: use the latest image dhcp-client image

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
This commit is contained in:
Thomas Gazagnaire 2017-04-06 13:41:39 +02:00
parent f44e2ffbcb
commit bb536803be
2 changed files with 3 additions and 3 deletions

View File

@ -24,14 +24,13 @@ daemon:
oomScoreAdj: -800
readonly: true
- name: dhcp-client
image: "mobylinux/dhcp-client:6478d616909eee58bfda46ba742b5b286965fb03"
image: "mobylinux/dhcp-client:30fddee3bf4a17945065dffb6f6bbef0d729f60d@sha256:32d5d93a96253928268ddd03a900f9404afb6267d60ba1e551859ca92d35663c"
net: host
capabilities:
- CAP_NET_ADMIN # to bring eth0 up
- CAP_NET_RAW # to read /dev/eth0
binds:
- /var/run/dhcp-client:/data
- /usr/bin/runc:/usr/bin/runc
- /sbin:/sbin # for ifconfig
- /bin:/bin # for ifconfig
- /lib:/lib # for ifconfig

View File

@ -68,7 +68,8 @@ let default_cmd = [
(*
let default_cmd = [
"/usr/bin/runc"; "run"; "--preserve-fds"; "2"; "--bundle"; "."; "dhcp-client"
"/usr/bin/runc"; "run"; "--preserve-fds"; "2"; "--bundle"; "."; "calf
"
]
*)