Menu

drbl not copying postrun files and then it can't execute them

DRBL Live
2018-12-03
2018-12-22
  • Jonathan Johnson

    I booted a system off the LIVE usb stick.

    I am trying to get postrun to work, but it doesn't

    I copyied the files in serval places on the server.

    /opt/drbl/share/ocs/postrun/drbl
    /opt/drbl/share/ocs/postrun/ocs
    /ftpboot/node_root/usr/share/drbl/postrun/drbl
    /ftpboot/node_root/usr/share/drbl/postrun/ocs
    /usr/share/drbl/postrun/drbl
    /usr/share/drbl/postrun/ocs

    Also probably other places.

    1. boot the server
    2. copy said files over
    3. mount /dev/sda1 /home/partimag
    4. Start DRBL
    5. dcs and set it in deploy mode

    It does not execute the script.

    I set it to do nothing after cloning and the file wasn't even present
    This is on the client:
    sudo find / -iname "unattend"

    No results

    I mount my usb stick, and executed my script manually and it works.

    I tried to do the regenerate both of the regenerate options with in dcs -> more

    run-parts --test ...path...goes...here

    No errors.

    I manually copyied my file into said path on the client and run-parts --test still returns nothing.

    dcs -->more->re-deploy executes my script files, but its on the server and it doesn't pass it any variables so it just has a bunch of errors. The error handler that checks for $1 being empty catches it, and exists. The secondary file which is similiar to CSV is also executed, for some reason, and every line has an error becauses its not meant to be run that way.

     
  • Jonathan Johnson

    I am just trying to use the POSTRUN directory function. I only need 30 pc's at a time max. Clearly based on the presence of the -o0 and -01 switches this is supposed to be supported.

    I am having trouble actually getting this to work.

    I need to know where to put the files and/or how so the client gets them and executes them properly.

     
  • Jonathan Johnson

    Niether of your provided links work in chrome or firefox.

     
    • Steven Shiau

      Steven Shiau - 2018-12-22

      What did you mean? The links does not work there? Still an issue now?
      Do you have any problem to browse here?
      https://clonezilla.org/clonezilla-live-doc.php
      If so, please check the lite server doc.

      Steven

       

Log in to post a comment.