mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
commit
ae379a71e8
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user