<para>specify nameserver(s) to use</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <envar>biosdevname=</envar><replaceable>{0|1}</replaceable>
+ </term>
+ <listitem>
+ <para>turn on/off biosdevname network interface renaming</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>
<refsect2>
--- /dev/null
+#!/bin/sh
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
+type -P biosdevname >/dev/null || exit 1
+
+# do not enable bootchartd by default
+exit 0
--- /dev/null
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
+dracut_install biosdevname
+inst_rules 71-biosdevname.rules
+inst_hook pre-trigger 30 "$moddir/parse-biosdevname.sh"
+
+# set the default state according to the config
+if [[ -e /etc/sysconfig/network ]]; then
+ . /etc/sysconfig/network
+fi
+
+if [[ "$BIOSDEVNAME" = "no" ]]; then
+ echo "biosdevname=0" >> ${initdir}/etc/cmdline
+fi
--- /dev/null
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
+if ! getargbool 1 biosdevname; then
+ info "biosdevname=0: removing biosdevname network renaming"
+ udevproperty UDEV_BIOSDEVNAME=
+ rm -f /etc/udev/rules.d/71-biosdevname.rules
+else
+ udevproperty UDEV_BIOSDEVNAME=1
+fi
+