[PATCH] Be more careful about identifying NFS fstab entries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 557deec..b159630 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1342,7 +1342,7 @@ class FSSet(object):
         elif devspec.startswith("/dev/loop"):
             # FIXME: create devices.LoopDevice
             log.warning("completely ignoring your loop mount")
-        elif ":" in devspec:
+        elif ":" in devspec and fstype.startswith("nfs"):
             # NFS -- preserve but otherwise ignore
             device = NFSDevice(devspec,
                                format=getFormat(fstype,
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux