git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5b53203
)
for the old style boot server file, that contains multiple servers,
author
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 26 Oct 2005 15:26:15 +0000
(15:26 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 26 Oct 2005 15:26:15 +0000
(15:26 +0000)
read only the first line
source/steps/InitializeBootManager.py
patch
|
blob
|
history
diff --git
a/source/steps/InitializeBootManager.py
b/source/steps/InitializeBootManager.py
index
076a637
..
97de995
100644
(file)
--- a/
source/steps/InitializeBootManager.py
+++ b/
source/steps/InitializeBootManager.py
@@
-58,7
+58,7
@@
def Run( vars, log ):
# info in /usr/bootme; 3.x cds in /usr/boot
if BOOT_CD_VERSION[0] == 2:
try:
- boot_server= file(V2X_BOOTCD_SERVER_FILE).read().strip()
+ boot_server= file(V2X_BOOTCD_SERVER_FILE).read
line
().strip()
except IOError:
raise BootManagerException, \
"It appears we are running on a v2.x boot cd, but could " \