diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index f2a95997d..d345fb26f 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -152,10 +152,15 @@ $progname = \$0; #create the user defined external database tables if they do not exist. #update the tables if there are schema changes. +# runsqlcmd runs sql scripts provided by the user in +# /opt/xcat/lib/perl/xCAT_schema + if (xCAT::Utils->isMN()) { xCAT::ExtTab->updateTables(); + `$::XCATROOT/sbin/runsqlcmd`; } + sub daemonize { chdir('/'); umask 0022;