diff --git a/xCAT-server/lib/xcat/plugins/pxe.pm b/xCAT-server/lib/xcat/plugins/pxe.pm index a776b2a51..f5c7dbd41 100644 --- a/xCAT-server/lib/xcat/plugins/pxe.pm +++ b/xCAT-server/lib/xcat/plugins/pxe.pm @@ -388,6 +388,10 @@ sub process_request { foreach (@rnodes) { if (xCAT::Utils->nodeonmynet($_)) { push @nodes,$_; + } else { + my $rsp; + $rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster"; + $callback->($rsp); } } } else { diff --git a/xCAT-server/lib/xcat/plugins/vsmppxe.pm b/xCAT-server/lib/xcat/plugins/vsmppxe.pm index f23eadb6f..764acf08a 100644 --- a/xCAT-server/lib/xcat/plugins/vsmppxe.pm +++ b/xCAT-server/lib/xcat/plugins/vsmppxe.pm @@ -284,6 +284,10 @@ sub process_request { foreach (@rnodes) { if (xCAT::Utils->nodeonmynet($_)) { push @nodes,$_; + } else { + my $rsp; + $rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster"; + $callback->($rsp); } } } else { diff --git a/xCAT-server/lib/xcat/plugins/xnba.pm b/xCAT-server/lib/xcat/plugins/xnba.pm index c0cb25ad5..8c80c85b1 100644 --- a/xCAT-server/lib/xcat/plugins/xnba.pm +++ b/xCAT-server/lib/xcat/plugins/xnba.pm @@ -409,6 +409,10 @@ sub process_request { foreach (@rnodes) { if (xCAT::Utils->nodeonmynet($_)) { push @nodes,$_; + } else { + my $rsp; + $rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster"; + $callback->($rsp); } } } else { diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 32a1238e7..53cbbdcb3 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -392,6 +392,10 @@ sub process_request { foreach (@rnodes) { if (xCAT::Utils->nodeonmynet($_)) { push @nodes,$_; + } else { + my $rsp; + $rsp->{data}->[0]="$_: stop configuration because of none sharedtftp and not on same network with its xcatmaster"; + $callback->($rsp); } } } else {