meta-ampere: mtmitchell: Enable IPMI over NCSI interface
This commit configures the phosphor-ipmi-net to support IPMI via
NCSI/eth1 interface.
Tested:
1. Plug the NCSI card, boot the BMC and get its IP.
2. Check if IPMI can be reproted via eth1's IP:
ipmitool -I lanplus -H NCSI_IP -C 17 -U root -P 0penBmc mc info
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: Ib5b26cd0e4e82214234bce49272ed767cfba50d3
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend b/meta-ampere/meta-mitchell/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend
new file mode 100644
index 0000000..d73ea68
--- /dev/null
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend
@@ -0,0 +1,7 @@
+DEFAULT_RMCPP_IFACE = "eth0"
+
+ALT_RMCPP_IFACE = "eth1"
+SYSTEMD_SERVICE:${PN} += " \
+ ${PN}@${ALT_RMCPP_IFACE}.service \
+ ${PN}@${ALT_RMCPP_IFACE}.socket \
+ "