diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2016-02-02 06:35:20 +0300 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2016-02-02 06:35:20 +0300 |
commit | 845719b5a8d2893b8b09f7385687f89b1be51fe7 (patch) | |
tree | 87f935704f9498490a2f12336e1f6e2c39c50122 /meta-phosphor/common/recipes-phosphor/network | |
parent | 8e413bac931026ec66fb35c3dfd820a9d0cece91 (diff) | |
download | openbmc-845719b5a8d2893b8b09f7385687f89b1be51fe7.tar.xz |
Enable DHCP
Enable DHCP as default in the image.
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/network')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/network/network.bb | 6 | ||||
-rwxr-xr-x | meta-phosphor/common/recipes-phosphor/network/network/80-dhcp.network | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/network/network.bb b/meta-phosphor/common/recipes-phosphor/network/network.bb index 33e2693f8..b53f7f44c 100644 --- a/meta-phosphor/common/recipes-phosphor/network/network.bb +++ b/meta-phosphor/common/recipes-phosphor/network/network.bb @@ -8,7 +8,9 @@ inherit obmc-phosphor-systemd RDEPENDS_${PN} += "python-dbus python-pygobject" -SRC_URI += "git://github.com/openbmc/phosphor-networkd" +SRC_URI += "git://github.com/openbmc/phosphor-networkd \ + file://80-dhcp.network \ + " SRCREV = "a657afc9cc76dc6678edb8de9df569f92dd108e1" @@ -17,5 +19,7 @@ S = "${WORKDIR}/git" do_install() { install -d ${D}/${sbindir} install ${S}/netman.py ${D}/${sbindir} + install -d ${D}/etc/systemd/network/ + install ${WORKDIR}/80-dhcp.network ${D}/etc/systemd/network/ } diff --git a/meta-phosphor/common/recipes-phosphor/network/network/80-dhcp.network b/meta-phosphor/common/recipes-phosphor/network/network/80-dhcp.network new file mode 100755 index 000000000..e871c6961 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/network/network/80-dhcp.network @@ -0,0 +1,5 @@ +[Match] +Name=eth0 + +[Network] +DHCP=yes |