Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Scripts called in Snippets

    Posted on

    All,

    We utilize Satellite 5.6 for our deployments. In our post script, we call a snippet that runs post build orientated steps. Recently in one of these snippets i added a section, to install an rpm, and run the script that this rpm installs.

    I've been seeing a problem when I do this in testing, where it seems to run the script, but never actually move on from it.

    I'm curious if there are some rules about running local scripts during the kickstart. I'm suspecting that for whatever reason, since this script doesn't end with an 'exit' it doesn't end.

    To be clear this script is working fine, and has been for quite a while when not included in the kickstart process.

    Without putting the whole script here (as there is proprietary information) It's ran in two function:

    PREP
    INSTALL

    There is nothing after INSTALL.

    I know it's mostly working, because one of the last steps of the INSTALL function calls another:

    if [ $RH_VER == "5" ]
    then
    CLEAN;
    yum -y install srvadmin-all libxml2 srvadmin-cm;
    PATH_SET;
    if [ -s ${DELL_PATH}/srvadmin/sbin/srvadmin-services.sh ]
    then
    ${DELL_PATH}/srvadmin/sbin/srvadmin-services.sh restart;
    echo "Install Succesful";
    if [ ! -e /usr/bin/omreport ]
    then
    ln -s ${DELL_PATH}/srvadmin/bin/omreport /usr/bin/omreport
    fi
    SNMPSETUP;
    OMEUSER;
    else
    echo "Install Failed";
    exit 1
    fi
    fi
    }

    The SNMPSETUP section.. works.. because the output on the kickstart page shows SNMP information.

    So for whatever reason AFTER these steps it stops and basically hangs as if it's waiting for something.

    Anyway, any suggestions?

    Thanks,

    Denny

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat