3 Replies Latest reply on Oct 15, 2014 1:39 PM by richard mcleod

    How do I stop NSH from requesting role selection?

    richard mcleod

      I am attempting to run an nsh script from a bash script...

       

      #!/bin/bash
      nsh /path/to/script
      

       

      When it executes, I am put in an endless loop requesting that I pick a role...

       

      I've tried specifying the role and profile

       

      nsh -v $profile -r $role /path/to/script
      

       

      but that doesn't seem to make a difference. Is this even possible? What am I missing?

       

      (In the nsh script I have it running blcli_setoption <roleName|serviceProfileName>, blcli_connect before we attempt to do anything...)