Translate

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_ session.pl.
Example
save_session.pl –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.
Example
vicfg-nics -l –sessionfile /home/vi-admin/esxsession

No comments:

Post a Comment