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 > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-19-2011, 04:34 PM
David Lehman
 
Default set_preferred_stage2_type -> set_preferred_stage1_type

---
pyanaconda/bootloader.py | 2 +-
pyanaconda/kickstart.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 79659a5..9d33f3a 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -438,7 +438,7 @@ class BootLoader(object):

return self.target_descriptions[self.stage1_device_types[idx]]

- def set_preferred_stage2_type(self, preferred):
+ def set_preferred_stage1_type(self, preferred):
""" Set a preferred type of stage1 device.

XXX should this reorder the list or remove everything else? """
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 0dfecd2..db5d833 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -262,7 +262,7 @@ class Bootloader(commands.bootloader.F15_Bootloader):
self.anaconda.bootloader.encrypt_password = self.isCrypted

if location != None:
- self.anaconda.bootloader.set_preferred_stage2_type (location)
+ self.anaconda.bootloader.set_preferred_stage1_type (location)

if self.timeout:
self.anaconda.bootloader.timeout = self.timeout
--
1.7.3.4

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

Thread Tools




All times are GMT. The time now is 02:21 AM.

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