From a6faf803e539104f581056932573cdbf3e10277e Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 26 Oct 2005 15:26:15 +0000 Subject: [PATCH] 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