From 8989cfb1ddb6c53e57fbaf92a4ac1d11f8083fa7 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Tue, 8 Jun 2010 15:05:07 +0200 Subject: [PATCH] Really set NETBOOT with iSCSI. --- scripts/live | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/live b/scripts/live index 2e40b45..6f04b86 100755 --- a/scripts/live +++ b/scripts/live @@ -757,6 +757,8 @@ do_iscsi() do if check_dev "null" "/dev/$dev" then + NETBOOT="iscsi" + export NETBOOT return 0; fi done @@ -764,8 +766,6 @@ do_iscsi() else panic "Failed to locate iSCSI host in /sys" fi - NETBOOT="iscsi" - export NETBOOT } do_httpmount () -- 2.1.4