From: Thierry Parmentelat Date: Fri, 6 Apr 2012 13:49:46 +0000 (+0200) Subject: trying out magic kernel option to avoid using em ifnames X-Git-Tag: bootcd-5.1-1~3 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=a1f5d8c7440a5f62cd63dcd7d7cedda20b1e1b07 trying out magic kernel option to avoid using em ifnames --- diff --git a/build.sh b/build.sh index da8113d..21db348 100755 --- a/build.sh +++ b/build.sh @@ -332,6 +332,10 @@ EOF [ -n "$IS_SERIAL" ] && KERNEL_ARGS="$KERNEL_ARGS ${console_spec}" + # tmp: should be restricted to f15 nodes and above + # making sure the network interfaces are still numbered eth0 and above + KERNEL_ARGS="$KERNEL_ARGS biosdevname=0" + [ -n "$KERNEL_ARGS" ] && echo "$KERNEL_ARGS" > $OVERLAY/kargs.txt # Pack overlay files into a compressed archive