Re: Disable LABEL= within fstab within kickstart ?

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

 



Well, just went into the netsgt1.img, removed the fsset.pyc file, copied
the fsset.py from the source rpm and modified for my need to not do
labels, remake the netstg1.img file and put it back into the kickstart
Redhat/base dir. Seems to work like a charm:

--- rhes-anaconda/usr/lib/anaconda/fsset.py        Mon Jul  7 13:06:17
2003
+++ netstg1/usr/lib/anaconda/fsset.py   Mon Jul 14 08:43:15 2003
@@ -607,15 +607,12 @@
         fstab = ""
         for entry in self.entries:
             if entry.mountpoint:
-                if entry.getLabel():
-                    device = "LABEL=%s" % (entry.getLabel(),)
-                else:
-                    device = devify(entry.device.getDevice())
-                fstab = fstab + entry.device.getComment()
-                fstab = fstab + format % (device, entry.mountpoint,
-                                          entry.fsystem.getName(),
-                                          entry.options, entry.fsck,
-                                          entry.order)
+                device = devify(entry.device.getDevice())
+            fstab = fstab + entry.device.getComment()
+            fstab = fstab + format % (device, entry.mountpoint,
+                                      entry.fsystem.getName(),
+                                      entry.options, entry.fsck,
+                                      entry.order)
         return fstab
 
     def raidtab(self):

Thanks for John and Donald idea's though - I just needed a more permanat
solution for all installations. It would be nice if they could maybe
make this an option/switch within the ks.cfg file to enable or not
enable. 

Cliff.




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux