fix_bootif() in net-genrules stripped the first part off the
passed string, resulting in invalid mac addresses. fixed
---
modules.d/40network/net-genrules.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules.d/40network/net-genrules.sh
b/modules.d/40network/net-genrules.sh
index 3d50435..dbd0474 100755
--- a/modules.d/40network/net-genrules.sh
+++ b/modules.d/40network/net-genrules.sh
@@ -2,7 +2,7 @@
# pxelinux provides macaddr '-' separated, but we need ':'
fix_bootif() {
- local macaddr=${1##??-}
+ local macaddr=${1}
local IFS='-'
macaddr=$(for i in ${macaddr} ; do echo -n $i:; done)
macaddr=${macaddr%:}
--
1.6.0.4
--
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