Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

helpful!Something wrong from customizeVM_Task()!

$
0
0

Hi,

     I customized Vm by code using the method customizeVM_Task(),then much problem come out!

     If the template's OS is windows 7 or linux ,this method work! but if the template's OS is server 2003 or server 2008, this method doesn't work! and the fault is vague : Can not finish Customization! Helpful!

     And the timezone setting confused me lot! I don't have any idea of the meaning of the number to represent which timezone is! I just use the one number "4". the code is following :

     {

          CustomizationGuiUnattended guiUnattended = new CustomizationGuiUnattended();

          guiUnattended.setTimeZone(4); //America

     }

     I want the number representive of the Chinese timezone.

     Thanks for helps!


Viewing all articles
Browse latest Browse all 24426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>