Menu

specify nfs install path in ocs-live.conf

Help
jaredcall
2008-03-08
2013-04-05
  • jaredcall

    jaredcall - 2008-03-08

    Is it possible to specify an nfs mount in the ocs-live.conf?  I have tried the following, but it doesn't work.

    ocs_live_extra_param="-b restoredisk nfs://myhost/mypath/slave_sysprep hda"

    The install works just fine if I specify that installation path during the menu-driven installl, but I'd much rather specify it in the config file.

    Thanks!

     
    • Steven Shiau

      Steven Shiau - 2008-03-08

      Sorry, I do not understand what you need, could you tell me more so that we can try to help you. Tkx.

       
    • jaredcall

      jaredcall - 2008-03-10

      Thank you for your reply.  I'll try to explain better what I am trying to accomplish.

      I can use the menu system to successfully image using Clonezilla.  That works just fine.  I notice in ocs-live.conf that there are parameters that can be passed to avoid having to choose certain menu options during the install. 

      For example, if you specify ocs_live_keymap="NONE" in ocs-live.conf, you do not get asked the keymap question during the installation.

      Similarly, it appears that you can specify the location of the image that you want to use to perform the install.  My understanding is that you add it as an argument to the ocs_live_extra_parms option.  I would like to specify an NFS location for the image.

      I can perform the menu-driven installation successfully, choosing an NFS location for the image.  My question is how to specify the same location in the ocs-live.conf file. 

      Does that make sense?

      Thanks!

      -jared

       
      • Steven Shiau

        Steven Shiau - 2008-03-11

        Sorry, for the time being this function is not implemented. You can not put that as a param. Clonezilla won't automatically mount that for you.
        You can use the pre-run option, put your own script in /opt/drbl/share/ocs/prerun/ to mount /home/partimag/.

         
        • jhurd

          jhurd - 2008-07-14

          This never got added right... Still would love to figure out a way to do this.

           
    • jaredcall

      jaredcall - 2008-03-11

      I copied one of the sample scripts into the prerun directory and that one doesn't seem to run either.

      After checking the available options for ocs-sr, I simplified my ocs_live_extra_parms as follows:
        ocs_live_extra_parms="-o0"

      I get no errors that I can see.  The pxe boot goes right into Clonezilla.  When I exit Clonezilla to a shell, I can see the scripts under in /opt/drbl/share/ocs/prerun.  They run fine when executed from the command prompt.  The permissions are 755.

      Thanks for your help.

       

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.