#!/usr/bin/env bash
# make this auto-runnable! 
# Little bootstrap bash script to run kick start expect-lite script

#
# Change the environment variables to match your environment
#
export EL_CONNECT_USER=user
export EL_CONNECT_PASS=mysecret
export EL_REMOTE_HOST=10.1.1.15
export EL_CONNECT_METHOD=telnet

hostname

# re-run the script as an expect-lite script
/usr/bin/env expect-lite c=$0 $*

# end the bash script, and return expect-lite pass/fail
exit $?


#start the expect-lite script
*EXP_INFO
@3
$myvar=hello world
$user=admin

>echo "$myvar"
<world
>
*INTERACT
>
