Add ipmi group in phosphor-ipmi-net

Update phosphor-ipmi-net.bb file to add
'ipmi' group similar to phosphor-ipmi-host.bb.
Users belonging to this group will be able to
access IPMI based on their privilege.

Change-Id: Icc19006a641bdb0ecec08c8816644d56305d21f3
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/recipes-phosphor/ipmi/phosphor-ipmi-net_git.bb b/recipes-phosphor/ipmi/phosphor-ipmi-net_git.bb
index dd686ff..c5984f1 100644
--- a/recipes-phosphor/ipmi/phosphor-ipmi-net_git.bb
+++ b/recipes-phosphor/ipmi/phosphor-ipmi-net_git.bb
@@ -16,6 +16,12 @@
 RDEPENDS_${PN} += "libsystemd"
 RDEPENDS_${PN} += "iptables"
 
+inherit useradd
+
+USERADD_PACKAGES = "${PN}"
+# add ipmi group
+GROUPADD_PARAM_${PN} = "ipmi"
+
 SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid"
 SRCREV = "5e452093830644245b83a817b8dad2fdb36ea550"