Menu

dcs command switches

Help
2007-06-19
2013-04-05
  • schaapmansz

    schaapmansz - 2007-06-19

    i would like to use dcs in a manner that you only have to choose the correct image and the number of pc's.
    is that possible?

    i got this far: /opt/drbl/sbin/dcs -l 0 -nl -clonezilla-start restore-disk
    what are the other command switches i can use?

     
    • schaapmansz

      schaapmansz - 2007-06-20

      Okee i got it to work! i use the following command:
      /opt/drbl/sbin/drbl-ocs -b -g auto -x -p reboot -l en startdisk multicast_restore

      I hav another question.
      can i choose another default for this screen? (i would like clients-to-wait)

      (X) clients+time-to-wait
      ( ) time-to-wait
      ( ) clients-to-wait

       
      • Steven Shiau

        Steven Shiau - 2007-06-20

        A similar command and options:
        /opt/drbl/sbin/drbl-ocs -b -g auto -x -p reboot --clients-to-wait 27 -l en startdisk multicast_restore

        Actually you can use /opt/drbl/sbin/dcs to switch that, and it will show you the whole command in green color.

        Good luck.

         
    • schaapmansz

      schaapmansz - 2007-06-20

      Hi Steven, Thnx for the quick respons.

      It is not exactly what i meant. I now about the -clients-to-wait switch.
      But.. i want the boys in the warehouse to choose how much computers they want to stage.
      so... i want it to be a little dummy proof.
      i would like them to see the screen.

      (X) clients+time-to-wait
      ( ) time-to-wait
      ( ) clients-to-wait

      But like this:

      ( ) clients+time-to-wait
      ( ) time-to-wait
      (X) clients-to-wait

      They now only have to push "enter" and fill in the number of clients.
      Is that possible? and how can i change that default.

       
    • Steven Shiau

      Steven Shiau - 2007-06-20

      Ok, to change the default, you have to hack the program
      /opt/drbl/sbin/ocs-functions, change
      ----------------------------------
            "clients+time-to-wait" "$msg_clients_time_to_wait" on \       "time-to-wait" "$msg_time_to_wait" off \       "clients-to-wait" "$msg_clients_to_wait" off \ ----------------------------------
      as
      ----------------------------------
            "clients+time-to-wait" "$msg_clients_time_to_wait" off \       "time-to-wait" "$msg_time_to_wait" off \       "clients-to-wait" "$msg_clients_to_wait" on \ ----------------------------------

      That's all.
      Good luck.

       
    • schaapmansz

      schaapmansz - 2007-06-20

      Yes, that does the trick!

      Thanx!

       
    • schaapmansz

      schaapmansz - 2007-09-26

      Hi Steven,

      In the new version of drbl clonezilla... the menu-items have been changed! We just choose an option (we don't have to select it first with the spacebar.

      The option has been changed in ocs-functions
      ----------------------------------
      "clients+time-to-wait" "$msg_clients_time_to_wait" on \
      "time-to-wait" "$msg_time_to_wait" off \
      "clients-to-wait" "$msg_clients_to_wait" off \
      ----------------------------------

      --menu "$msg_choose_the_multicast_method:" 0 0 0 \ "clients+time-to-wait" "$msg_clients_time_to_wait" \ "time-to-wait" "$msg_time_to_wait" \ "clients-to-wait" "$msg_clients_to_wait" \

      How do i set the last item to default?

      regards,
      SchaapMansz

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.