FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 04-21-2008, 03:04 PM
Michael DeHaan
 
Default Patch to reenable memtest entry creation on Cobbler 0.9

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 + "

"
- 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 + "
"







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

Thread Tools




All times are GMT. The time now is 10:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org