VMware Cloud Community
pmerkel
Contributor
Contributor

Disabling HotPlug

Has anyone created a script yet to add the configuration parameter "devices.hotplug" with the value of "false". This is to fix the issue in http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101222...

I have several hundred vms to set this paramter for since the users seem to like to remove the NICs themselves for some reason. Just looking for the 1 liner needed to add that parameter.

thanks

Reply
0 Kudos
2 Replies
lamw
Community Manager
Community Manager

Yes, here is vSphere SDK for Perl solution -

I'm sure there is a PowerCLI equivalent, you may want to post in the PowerCLI community if you're looking for a Windows solution.

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
pmerkel
Contributor
Contributor

Thanks for the info, I will also try the powercli blog to see if I can get it to work there as well.

Reply
0 Kudos