diff --git a/xCAT-server/lib/perl/xCAT/SvrUtils.pm b/xCAT-server/lib/perl/xCAT/SvrUtils.pm index 23374b101..959783b44 100644 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -1121,7 +1121,12 @@ sub get_mac_by_arp () if ( xCAT::Utils->isAIX() ) { $output = `/usr/sbin/arp -a`; } else { - $output = `/sbin/arp -n`; + if ( -e "/etc/debian_version" ) { + $output = `/usr/sbin/arp -n`; + } + else { + $output = `/sbin/arp -n`; + } } my ($ip, $mac);