---
modules.d/40network/net-lib.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
index caa3b79..baeace4 100644
--- a/modules.d/40network/net-lib.sh
+++ b/modules.d/40network/net-lib.sh
@@ -422,3 +422,8 @@ net_add_parse_vars() {
[ -f /tmp/40network.parse.finished."${jobid}" ] && rm -f
/tmp/40network.parse.finished."${jobid}"
EOF
}
+
+type hostname >/dev/null 2>&1 || \
+hostname() {
+ cat /proc/sys/kernel/hostname
+}
--
1.8.1.5
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html