VMware Cloud Community
smudger
Enthusiast
Enthusiast

Changing Default VM Config on Creation

Hi,

Is it possible to change the default configuration of new VMs that are created? For a particular cluster I'd like any new VMs created to have the following options disabled/not present:

No Floppy Drive

Time Sync = Yes

Each machine is created using the standard VIC. Cluster is 3.5 U2.

Thanks!

0 Kudos
4 Replies
emmar
Hot Shot
Hot Shot

The best way i can think to acheive this is to use a VI powershell cmd run against the cluster. If you search there should be loads of examples to disable the floppy and config the VMtools.. you could then run this on a scheduled basis?

smudger
Enthusiast
Enthusiast

Hi, thanks for the suggestion. Powershell works well for this, I'm interested to know if the same can be achieved through the standard VIC UI. Currently this is our preffered option for creating new VMs. We are also trailing the DynamicOps VRM tool which can also achieve the same and a whole load more as Powershell. I guess this proves how new VMs can be minipulated prior to creation ie. the APIs are open although I cannot see how the same can be achieved via the standard UI.

thanks again.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

MOved to Virtual Machine and Guest OS forum.

The easiest way would be to create a template and deploy the template. You can create a VM template without a hard disk that would have all the necessary settings. Then when you want to install a Guest OS create an appropriate sized disk and install. Or you could have an OS preinstalled.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

Blue Gears and SearchVMware Pro Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

Top Virtualization Security Links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
Erik_Zandboer
Expert
Expert

Hi,

Maybe I am missing the point here - But why not just use templates? Whatever you put inside the template, you get back after deploying. I hardly (err make that never at all!) create new VMs, I always create new VMs from templates....

Visit my blog at http://www.vmdamentals.com
0 Kudos