2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

Merge pull request #7435 from samveen/fix_7433

Fix for #7433 , #7434
This commit is contained in:
Obihörnchen 2024-04-14 17:22:35 +02:00 committed by GitHub
commit ae379a71e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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