Actions
Support #17275
closedDeploy windows and userdata template
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:
Description
Hello,
I need to deploy a windows template with foreman.
For that purpose, I associated this userdata template with an windows operating system.
<%- powershell = '%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile' -%> --- identity: Sysprep: guiRunOnce: commandList: - '<%= powershell %> -Command "invoke-webrequest -Uri <%= foreman_url("built") %>"' guiUnattended: autoLogon: true autoLogonCount: 1 password: plainText: true value: 'testpass123' timeZone: 110 identification: joinWorkgroup: 'MyGroup' licenseFilePrintData: autoMode: 'perSeat' userData: computerName: <%= @host.shortname %> fullName: 'IT' orgName: 'MyOrg' productId: 'D2N9P-3P6X9-2R39C-7RTCD-MDVJX' nicSettingMap: - adapter: dnsDomain: <%= @host.domain %> dnsServerList: - <%= @host.subnet.dns_primary %> globalIPSettings: dnsServerList: - <%= @host.subnet.dns_primary %> dnsSuffixList: - <%= @host.domain %> options: changeSID: true deleteAccounts: false
After deploying a vm, a build property is still on "Pending installation" and to my knowledge none of this data is passed.
Somebody can help me please?
Actions