I have put some prerun and postrun scripts in DRBL server, but it does not work. What happends? |
Some hints:
-
If you are using DRBL SSI or Clonezilla box mode, after you put the files in
/tftpboot/node_root/opt/drbl/share/ocs/prerun
and
/tftpboot/node_root/opt/drbl/share/ocs/postrun
Remember to run /opt/drbl/sbin/drbl-gen-ssi-files to update the SSI files. It's can be done by running "/opt/drbl/sbin/dcs" -> more -> gen-template-files. Make sure you put the files in the correct template dir (i.e. the first one in /tftpboot/nodes/) before you run /opt/drbl/sbin/drbl-gen-ssi-files. Or you can use /opt/drbl/sbin/drbl-gen-ssi-files -t $IP_ADDRESS" to specify the template machine ($IP_ADDRESS means the dir /tftpbpot/nodes/$IP_ADDRESS).
-
Remember to check this faq, too.
|
|