ESX Friendly Method:
Install IO:Tty -
1. Download Perl-IO-TTY from here
2. Copy to your host or execute from a shared location
3. Execute 'rpm -ivh perl-IO-Tty-1.07-1.el3.rf.i386.rpm'
Install Expect.pm -
1. Download Perl-Expect from here
2. Copy to your host or execute from a shared location
3. Execute 'rpm -ivh perl-Expect-1.21-1.el3.rf.noarch.rpm'
Pain-in-the-butt Method:
You can download these from http://sourceforge.net/projects/expectperl/
The installation itself is pretty simple. IO::Tty needs to be installed first. This installation does not add additional items to run in RAM.
Install IO:Tty -
1. Decompress file.
2. Browse to location of files.
3. Execute perl Makefile.PL
4. Execute make
5. Execute make install
Install Expect.pm -
1. Decompress file.
2. Browse to location of files.
3. Execute perl Makefile.PL
4. Execute make
5. Execute make install
A swell blog containing some of the scripts I have written for VM management.