Re: Patch to reenable memtest entry creation on Cobbler 0.9

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

 



Pablo Iranzo Gómez wrote:
	Hi
	This should be applied to fix the memtest entry creation on
cobbler 0.9x after moving memtest to images/

	Regards
	Pablo

Applied, thanks!


diff --git a/cobbler/pxegen.py b/cobbler/pxegen.py
index 527b6a2..e39fdc8 100644
--- a/cobbler/pxegen.py
+++ b/cobbler/pxegen.py
@@ -186,7 +186,7 @@ class PXEGen:
         memtests = glob.glob(self.bootloc + "/images/memtest*")
         if len(memtests) > 0:
             pxe_menu_items = pxe_menu_items + "\n\n"
-            for memtest in glob.glob(self.bootloc + '/memtest*'):
+            for memtest in glob.glob(self.bootloc + '/images/memtest*'):
                 base = os.path.basename(memtest)
                 contents = self.write_memtest_pxe("/images/%s" % base)
                 pxe_menu_items = pxe_menu_items + contents + "\n"





_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

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

  Powered by Linux