Hi All

I resume my issue when I installed oscar 6.1.2 with centos 6.4.
oscar was built correctly except the bug in /etc/sbin/si_prepareclient.
Then when I made the network boot (pxeboot)  my 1st client, I got the error in 
step "get_script_directory":
This is the trace from the console:
...rsync -a 172.16.0.100::scripts /scripts
ERROR: Unknown module 'scripts'
I found this  error in the file 
/usr/share/systemimager/boot/x86_64/standard/initrd_template/etc/init.d/functions
Here is  2 pieces in the "functions" file and the SCRIPTS variable doesn't 
defined.


################################################################################
#
#   Variables
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/tmp
LD_LIBRARY_PATH=/lib
SCRIPTS=scripts
SCRIPTS_DIR=/scripts
TORRENTS=torrents
TORRENTS_DIR=/torrents
FLAMETHROWER_DIRECTORY_DIR=/var/lib/systemimager/flamethrower
BOEL_BINARIES_DIR=/tmp/boel_binaries
VERSION="4.3.0"
FLAVOR="standard"
#
################################################################################



logmsg get_scripts_directory

    if [ ! -z $FLAMETHROWER_DIRECTORY_PORTBASE ]; then
        #
        # We're using Multicast, so we should already have a directory
        # full of scripts.  Break out here, so that we don't try to pull
        # the scripts dir again (that would be redundant).
        #
        MODULE_NAME="autoinstall_scripts"
        DIR="${SCRIPTS_DIR}"
        RETRY=7
        flamethrower_client

    else
        mkdir -p ${SCRIPTS_DIR}
        CMD="rsync -a ${IMAGESERVER}::${SCRIPTS}/ ${SCRIPTS_DIR}/"
        logmsg "$CMD"
        $CMD || shellout
    fi
}


Does anyone know the value of SCRIPTS?

Thanks

Huu Duc Le
R-Associates



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to