Automation

 View Only
  • 1.  Disabling HotPlug

    Posted Jul 20, 2010 03:44 PM

    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=1012225

    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



  • 2.  RE: Disabling HotPlug

    Broadcom Employee
    Posted Jul 20, 2010 04:00 PM

    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".



  • 3.  RE: Disabling HotPlug

    Posted Jul 20, 2010 04:17 PM

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