From: Harald Hoyer Date: Thu, 27 Feb 2020 14:24:29 +0000 (+0100) Subject: nbd/parse-nbdroot.sh: don't create mount unit X-Git-Tag: 050~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b67a48f95361ee570c85a8a7e4637cf44d6660;p=thirdparty%2Fdracut.git nbd/parse-nbdroot.sh: don't create mount unit let the generator do its thing --- diff --git a/modules.d/95nbd/parse-nbdroot.sh b/modules.d/95nbd/parse-nbdroot.sh index 902e9a988..d9e4bc67f 100755 --- a/modules.d/95nbd/parse-nbdroot.sh +++ b/modules.d/95nbd/parse-nbdroot.sh @@ -46,10 +46,10 @@ fi [ "${netroot%%:*}" = "nbd" ] || return -if [ -n "${DRACUT_SYSTEMD}" ] && [ "$root" = "dhcp" ]; then - echo "root=$netroot" > /etc/cmdline.d/root.conf - systemctl --no-block daemon-reload -fi +#if [ -n "${DRACUT_SYSTEMD}" ] && [ "$root" = "dhcp" ]; then +# echo "root=$netroot" > /etc/cmdline.d/root.conf +# systemctl --no-block daemon-reload +#fi # Check required arguments netroot_to_var $netroot