diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index c824641be..449cbb561 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -2440,9 +2440,10 @@ sub addnet } else { $callback->( { - warning => [ + error => [ "No $net specific entry for domain, and no domain defined in site table." - ] + ], + errorcode => [1] }); }