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:
parent
ec04eba39e
commit
e582521ec7
@ -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