Create a vSphere Image Customization template to use with your vRealize Automation IaaS Proxy Agent deployment.
Procedure
- Log in to vCenter Server by using the vSphere Web Client.
- Open a Web browser and go to https://nyc01r01vc01.rainpole.local/vsphere-client.
- Log in using the following credentials.
Setting
Value
User name
administrator@vsphere.local
Password
vsphere_admin_password
- From the Home page, under Policies and Profiles click Customization Specification Manager.
- Select nyc01r01vc01.rainpole.local from the vCenter Server drop-down menu.
- Click the Create a new specification icon.
The New VMGuest CustomizationSpec wizard opens.
- On the Specify Properties page, enter the following settings, and click Next.
Setting
Value
Target VM Operating System
Windows
Use custom SysPrep answer file
Deselected
Customization Spec Name
vra7-proxy-agent-template
- On the Set Registration Information page, enter the following settings, and click Next.
Setting
Value
Name
Rainpole
Organization
Rainpole IT
- On the Set Computer Name page, select the Enter a name in the Clone/Deploy wizard radio button, and click Next.
- On the Enter Windows License page, enter the following settings, and click Next.
Note:
If you are using Microsoft License Server, or have multiple single license keys, leave the Product Key text box blank.
Setting
Value
Product Key
volume_license_key
Include Server License Information
Selected
Server License Mode
Per seat
- On the Set Administrator Password page, enter the following settings, and click Next.
Setting
Value
Password
local_administrator_pwd
Automatically logon as Administrator
Selected
Number of times to logon automatically
1
- On the Time Zone page, select (GMT) Coordinated Universal Time from the Time Zone drop-down menu, and click Next.
- On the Run Once page, type in the following commands in the text box and click Add after each one. Click Next.
Commands
net localgroup administrators rainpole\svc-vra /add
powershell set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"
powershell set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\TCPIP6\Parameters" -Name "DisabledComponents" -Value 0xff
powershell Restart-Computer
Note:These commands add a service account into the local administrators group, adjust the User Access Controls, and disable IPv6.
- On the Configure Network page, select the Manually select custom settings radio button, select NIC1 from the list of network interfaces in the virtual machine, and click Edit.
The Network Properties dialog box displays.
- In the Edit Network dialog box, on the IPv4 page, specify the following settings and click DNS.
Setting
Value
Prompt the user for an address when the specification is used
Selected
Subnet Mask
255.255.255.0
Default Gateway
172.18.19.1
- On the DNS page, provide DNS servers and search suffixes.
- Specify the following DNS server settings.
Setting
Value
Use the following DNS server address
Selected
Preferred DNS Server
172.18.11.4
Alternate DNS Server
172.16.11.4
- Enter rainpole.local in the For all connections with TCP/IP enabled text box and click the Add button.
- Click OK to save settings, close the Edit Network dialog box, and click Next.
- Specify the following DNS server settings.
- On the Set Workgroup or Domain page, select the Windows Server Domain radio button, enter credentials that have privileges to join the domain, and click Next.
Setting
Value
Windows Server Domain
rainpole.local
Username
svc-domain-join@rainpole.local
Password
svc-domain-join_password
- On the Set Operating System options page, select the Generate New Security ID (SID) check box, and click Next.
- On the Ready to Complete page, review the settings that you entered, and click Finish.
The customization specification you created is listed in the Customization Specification Manager and can be used to customize virtual machine guest operating systems.