diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index 001d4d39d..2f70359d2 100755 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -167,9 +167,9 @@ chomp $::root; # Generate ssh host keys for the nodes # # - -&genSSHNodeHostKey; - +if (xCAT::Utils->isMN()) { + &genSSHNodeHostKey; +} # # gen root's ssh keys, if needed and copy to appropriate directories to # be used during install