1 Reply Latest reply on Feb 6, 2018 1:39 AM by 3479435

    One line commands or automating IB gateway switch ILOM commands

    3479435

      Hello,

       

      I am trying to get below thing working in one command line ...

       

      objective is

      1. SSH to IB GW switch

      2. su - ilom-admin

      3. Get temperature readings show -d properties /SYS/MB/T_B0

       

      for that I have tried

       

      ssh -ttt gw01 sudo -u ilom-admin  sh -c "show -d properties /SYS/MB/T_B0"

      -d: show: command not found

       

       

      Has anyone tried anything on this line , appreciate if any good suggestion.

       

      Regards,

      Prakash