diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index a7001f62e..d84cc16db 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -507,8 +507,10 @@ sub process_request my $ifarg = "$dhcpd_key=\""; foreach (keys %activenics) { + if (/!remote!/) { next; } $ifarg .= " $_"; } + $ifarg =~ s/^ //; $ifarg .= "\"\n"; while () {