[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: expanding host names

Bryan Stansell bryan@conserver.com
Tue, 18 Oct 2011 22:00:47 GMT


Here's your stuff with the bits I think you're missing...

    default hp-ilo {
       type exec;
       exec "ssh Administrator@&-ilo";
       execsubst &=cs;
       initcmd "/opt/conserver/lib/ilo-console"; #<-- this is an expect script that starts the virtual serial port
    }

    default xscf {
       type exec;
       exec "ssh sysadmin@&-xscf";
       execsubst &=cs;
       initcmd "/opt/conserver/lib/xscf-console"; #<-- also an expect script that connects the console
    }

    console dasher { include hp-ilo; }
    console blitzen { include hp-ilo; }
    console comet { include xscf; }

That makes an ssh connection to dasher-ilo, blitzen-ilo, and
commet-xscf when you connect to the non-dashed console names.  Hope
that's what you were shooting for.

Bryan