From eabd2ed67d9887336423965af1f010673cb41e4b Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 17 Sep 2010 17:33:51 +0000 Subject: [PATCH] bug fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/sles/genimage | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 3900c0509..ec050cbdc 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -142,11 +142,11 @@ if (@ARGV > 0 and $needUpdateTable eq 1) { exit 1; } - $osver=$ref->{'osvers'}; - $arch=$ref->{'osarch'}; - $profile=$ref->{'profile'}; - my $provmethod=$ref->{'provmethod'}; # TODO: not necessary, and need to update both statelite and stateless modes - + $osver=$ref_osimage_tab->{'osvers'}; + $arch=$ref_osimage_tab->{'osarch'}; + $profile=$ref_osimage_tab->{'profile'}; + my $provmethod=$ref_osimage_tab->{'provmethod'}; # TODO: not necessary, and need to update both statelite and stateless modes + unless ($osver and $arch and $profile and $provmethod) { print"osimage.osvers, osimage.osarch, osimage.profile and osimage.provmethod must be specified for the image $imagename in the database.\n"; exit 1;