Skip to content

Commit

Permalink
Merge pull request #7435 from samveen/fix_7433
Browse files Browse the repository at this point in the history
Fix for #7433 , #7434
  • Loading branch information
Obihoernchen authored Apr 14, 2024
2 parents ec04eba + e54aabe commit ae379a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xCAT-server/lib/xcat/plugins/debian.pm
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ sub copycd
}
else
{
my $osdistoname = $distname . "-" . $arch;
my $osdistroname = $distname . "-" . $arch;
my $temppath = "$installroot/$distname/$arch";
my @ret = xCAT::SvrUtils->update_osdistro_table($distname, $arch, $temppath, $osdistroname);
if ($ret[0] != 0) {
Expand Down
2 changes: 1 addition & 1 deletion xCAT-server/lib/xcat/plugins/route.pm
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ sub delete_route {
my $os = xCAT::Utils->osver();
if ($os =~ /sles/) { #sles
deletePersistentRoute_Sles($callback, $net, $mask, $gw_ip, $gw, $ifname);
} elsif ($os =~ /ubuntu/) { #ubuntu or Debian?
} elsif ($os =~ /ubuntu|debian/) { #ubuntu or Debian?
deletePersistentRoute_Debian($callback, $net, $mask, $gw_ip, $gw, $ifname);
}
elsif ($os =~ /rh|fedora|centos|alma|rocky/) { #RH, Ferdora
Expand Down

0 comments on commit ae379a7

Please sign in to comment.