712866
From 0ab5e8adc8c7132c4f858bcfe7bd7f8c493282d9 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Fri, 17 Jan 2014 13:40:05 +0100
712866
Subject: [PATCH] systemd/rootfs-generator.sh: ignore legacy root=/dev/nfs
712866
712866
---
712866
 modules.d/98systemd/rootfs-generator.sh | 2 ++
712866
 1 file changed, 2 insertions(+)
712866
712866
diff --git a/modules.d/98systemd/rootfs-generator.sh b/modules.d/98systemd/rootfs-generator.sh
5c6c2a
index 555027f3..9810026d 100755
712866
--- a/modules.d/98systemd/rootfs-generator.sh
712866
+++ b/modules.d/98systemd/rootfs-generator.sh
712866
@@ -22,6 +22,8 @@ case "$root" in
712866
         root="${root#block:}"
712866
         root="block:/dev/disk/by-partlabel/${root#PARTLABEL=}"
712866
         rootok=1 ;;
712866
+    /dev/nfs) # ignore legacy /dev/nfs
712866
+        ;;
712866
     /dev/*)
712866
         root="block:${root}"
712866
         rootok=1 ;;