diff --git a/xCAT-server/lib/xcat/plugins/debian.pm b/xCAT-server/lib/xcat/plugins/debian.pm index efeced646..3a8a8fce1 100755 --- a/xCAT-server/lib/xcat/plugins/debian.pm +++ b/xCAT-server/lib/xcat/plugins/debian.pm @@ -841,7 +841,10 @@ sub mkinstall } # parse Mac table to get one mac address in case there are multiples. - $mac = xCAT::Utils->parseMacTabEntry($macent->{mac},$node); + my $mac; + if ($macent->{mac}) { + $mac = xCAT::Utils->parseMacTabEntry($macent->{mac},$node); + } my $net_params = xCAT::NetworkUtils->gen_net_boot_params($ent->{installnic},$ent->{primarynic},$mac); if (exists($net_params->{nicname})) {