Guillaume, this looks like a pretty cool idea, can you submit a Pull Request for this?
Simon From: crowbar-bounces On Behalf Of Guillaume Polaert Sent: Friday, June 21, 2013 8:20 AM To: crowbar Subject: [Crowbar] hook feature Hi, I have to install some specific features on the crowbar-server (just after the fresh install). I also want to package them into my iso. I have added that code at the end of the common_install.sh script. The script checks if a directory hooks exists and eventually will launch the post-install.sh for each hook. Is there another method to do something like it ? developer@crowbar-dev:~/cfinal$ diff redhat-common/common_install.sh ../crowbar/redhat-common/common_install.sh 150,159d149 < < < # Look for any crowbar specific hooks < if [[ -d /tftpboot/redhat_dvd/extra/hooks ]];then < for hook in $(find /tftpboot/redhat_dvd/extra/hooks -name "post-install.sh" -type f); do < chmod +x $hook < $hook < done < fi < Thanks you, Guillaume
_______________________________________________ Crowbar mailing list Crowbar@dell.com https://lists.us.dell.com/mailman/listinfo/crowbar For more information: http://crowbar.github.com/