bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
36e22f9ced
commit
eabd2ed67d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user