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

Fix #7434: add debian to check

Signed-off-by: Samveen <samveen@samveen.in>
This commit is contained in:
Samveen 2024-04-13 12:36:08 +05:30
parent ec04eba39e
commit e582521ec7
No known key found for this signature in database
GPG Key ID: 5B17F3D06B420F2D

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