From 2724e7a3557a134473db5bfb8170c48592a1ad79 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 26 Oct 2005 15:33:12 +0000 Subject: [PATCH] - merge revision 1.3 date: 2005/10/26 15:26:15; author: mlhuang; state: Exp; lines: +1 -1 for the old style boot server file, that contains multiple servers, read only the first line --- source/steps/InitializeBootManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/steps/InitializeBootManager.py b/source/steps/InitializeBootManager.py index 076a637..97de995 100644 --- 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).readline().strip() except IOError: raise BootManagerException, \ "It appears we are running on a v2.x boot cd, but could " \ -- 2.43.0