Total Pageviews

My YouTube Channel

Sunday, 2 February 2014

Session Files in vMA

Session Files
An alternative to vi-fastpass for automating cached credentials are session files.
Session files are Perl script files that save session credentials in an aptly named saved session file, called save_
Example –server ‘servername‘  –user name root –password password –savesessionfile /home/vi-admin/esxsession
Once this has been saved, add it to the end of a command run through the vMA.
vicfg-nics -l –sessionfile /home/vi-admin/esxsession