]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
nbd/parse-nbdroot.sh: don't create mount unit
authorHarald Hoyer <harald@redhat.com>
Thu, 27 Feb 2020 14:24:29 +0000 (15:24 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 27 Feb 2020 14:27:30 +0000 (15:27 +0100)
let the generator do its thing

modules.d/95nbd/parse-nbdroot.sh

index 902e9a988c0cc6c8b8a14f21e3133fb671a2ca44..d9e4bc67fa780200a1960cf91529ab6648595ae9 100755 (executable)
@@ -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