|
VMware: Deploy Template grayed out |
|
|
|
|
Thursday, 06 August 2009 17:40 |
You can run into the problem when you want to deploy a VM from a template the options are greyed out, even after restarting the vCenter services. PowerCLI to the rescue:
$templates = Get-Template * foreach($item in $templates){ $template = $item.Name
#Convert Template back to VM Set-Template $template -ToVM -RunAsync #Convert Template back to template :S $vmview = Get-VM $template | Get-View $vmview.MarkAsTemplate()
} Thnx to ictfreak
|