Initial commit
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
[Match]
|
||||
Name=eth0
|
||||
[Network]
|
||||
DHCP=no
|
||||
LinkLocalAddressing=no
|
||||
Address=192.168.255.254/24
|
||||
Gateway=192.168.255.1
|
||||
@@ -0,0 +1,10 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += " file://00-bmc-eth0.network"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/systemd/network
|
||||
install -m 0644 ${WORKDIR}/00-bmc-eth0.network ${D}${sysconfdir}/systemd/network
|
||||
}
|
||||
|
||||
FILES:${PN} += " ${sysconfdir}/systemd/network/00-bmc-eth0.network "
|
||||
Reference in New Issue
Block a user