diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 0187aef47..6ad77d3b3 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -286,11 +286,11 @@ sub mknetboot } (my $ref) = $osimagetab->getAttribs({ imagename => $imagename }, 'osvers', 'osarch', 'profile', 'provmethod', 'rootfstype', 'nfsrootopts'); if ($ref) { - $img_hash{$imagename}->{osver} = $ref->{'osvers'}; - $img_hash{$imagename}->{osarch} = $ref->{'osarch'}; - $img_hash{$imagename}->{profile} = $ref->{'profile'}; - $img_hash{$imagename}->{provmethod} = $ref->{'provmethod'}; - $img_hash{$imagename}->{rootfstype} = $ref->{rootfstype}; + $img_hash{$imagename}->{osver} = $ref->{'osvers'}; + $img_hash{$imagename}->{osarch} = $ref->{'osarch'}; + $img_hash{$imagename}->{profile} = $ref->{'profile'}; + $img_hash{$imagename}->{provmethod} = $ref->{'provmethod'}; + $img_hash{$imagename}->{rootfstype} = $ref->{rootfstype}; $img_hash{$imagename}->{nfsrootopts} = $ref->{nfsrootopts}; if (!$linuximagetab) { $linuximagetab = xCAT::Table->new('linuximage', -create => 1); diff --git a/xCAT-server/lib/xcat/plugins/debian.pm b/xCAT-server/lib/xcat/plugins/debian.pm index 113414b85..4051ca18e 100644 --- a/xCAT-server/lib/xcat/plugins/debian.pm +++ b/xCAT-server/lib/xcat/plugins/debian.pm @@ -1182,11 +1182,11 @@ sub mknetboot } (my $ref) = $osimagetab->getAttribs({ imagename => $imagename }, 'osvers', 'osarch', 'profile', 'provmethod', 'rootfstype', 'nfsrootopts'); if ($ref) { - $img_hash{$imagename}->{osver} = $ref->{'osvers'}; - $img_hash{$imagename}->{osarch} = $ref->{'osarch'}; - $img_hash{$imagename}->{profile} = $ref->{'profile'}; - $img_hash{$imagename}->{provmethod} = $ref->{'provmethod'}; - $img_hash{$imagename}->{rootfstype} = $ref->{'rootfstype'}; + $img_hash{$imagename}->{osver} = $ref->{'osvers'}; + $img_hash{$imagename}->{osarch} = $ref->{'osarch'}; + $img_hash{$imagename}->{profile} = $ref->{'profile'}; + $img_hash{$imagename}->{provmethod} = $ref->{'provmethod'}; + $img_hash{$imagename}->{rootfstype} = $ref->{'rootfstype'}; $img_hash{$imagename}->{nfsrootopts} = $ref->{'nfsrootopts'}; if (!$linuximagetab) { $linuximagetab = xCAT::Table->new('linuximage', -create => 1); diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index e2ac19691..4e42a9b02 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -150,12 +150,12 @@ sub mknetboot } (my $ref) = $osimagetab->getAttribs({ imagename => $imagename }, 'osvers', 'osarch', 'profile', 'rootfstype', 'nfsrootopts', 'provmethod'); if ($ref) { - $img_hash{$imagename}->{osver} = $ref->{'osvers'}; - $img_hash{$imagename}->{osarch} = $ref->{'osarch'}; - $img_hash{$imagename}->{profile} = $ref->{'profile'}; - $img_hash{$imagename}->{rootfstype} = $ref->{'rootfstype'}; + $img_hash{$imagename}->{osver} = $ref->{'osvers'}; + $img_hash{$imagename}->{osarch} = $ref->{'osarch'}; + $img_hash{$imagename}->{profile} = $ref->{'profile'}; + $img_hash{$imagename}->{rootfstype} = $ref->{'rootfstype'}; $img_hash{$imagename}->{nfsrootopts} = $ref->{'nfsrootopts'}; - $img_hash{$imagename}->{provmethod} = $ref->{'provmethod'}; + $img_hash{$imagename}->{provmethod} = $ref->{'provmethod'}; if (!$linuximagetab) { $linuximagetab = xCAT::Table->new('linuximage', -create => 1); }