Setting root password moved to distro

Moved setting default root user password to
distro instead of applying it in every conf.

Unit-test:
Verified /etc/shadow file updated accordingly.

Change-Id: Ie5cfd34c122f37cd66743104df428f10e3426f63
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/conf/distro/include/phosphor-defaults.inc b/conf/distro/include/phosphor-defaults.inc
index ed2cd74..5659215 100644
--- a/conf/distro/include/phosphor-defaults.inc
+++ b/conf/distro/include/phosphor-defaults.inc
@@ -244,3 +244,10 @@
 # Will add a build dependency to host-ipmid on the
 # phosphor-ipmi-fru-whitelist-native recipe.
 VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru"
+
+# Set the root password to '0penBmc'
+inherit extrausers
+
+EXTRA_USERS_PARAMS = " \
+  usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \
+  "
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
index 15e3243..d77fc8a 100644
--- a/conf/local.conf.sample
+++ b/conf/local.conf.sample
@@ -15,9 +15,5 @@
     ABORT,${SSTATE_DIR},100M,1K \
     ABORT,/tmp,10M,1K"
 CONF_VERSION = "1"
-INHERIT += "extrausers"
-EXTRA_USERS_PARAMS = " \
-  usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \
-  "
 MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"