- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VM Deployment with OS Customization Specification
Hi Community
I'm used to deploy new VM from template with Customization Specification Manager file I made under vCenter 6.5U3 GUI.
For automation purposes, i'm trying to make PowerCLI (.ps1) scripts to ease VM deployment, right now i'm just at a test step (line by line execution) and just encounter a problem.
Template details :
- OS Type : Windows
- Take the VM name as Windows' computer name
- Time : GMT +01:00
- 1x NIC who prompt user for IP adress only (VLAN + netmask + gateway + DNS are already set in the template)
- add the vm into AD Domain
- Do not log in automatically as Administrator
- Sysprep + generate new SID
- Registration info : user : xxxx + Organization : xxxx
- Username and password already set too
My issue is that I'm able to deploy a new VM from template using PowerCli, but when I set -OSCustomizationSpec parameter to use my template, it didn't ask me the IP address, and it doesn't seems to use the VM name as Windows' computer name.
It doesn't seems that i can 100% use the template which was created on vCenter GUI..
Is there a problem from my CLI deployment or a known bug ? Do I have to recreate again the same template but for CLI ?
Thanks