to use the generated OS Images please configure youre Foreman Instace according to this guide. This Guide was written with Foreman 2.1 - if you use a older or newer version some settings might be called different.
- Navigate to Hosts > Provisioning Setup > Operating Systems
- Click the Create Medium Button
- Fill in the Form:
- Name:
Windows Images
- Path:
http://your.webserver.local/$arch/$major/
- Operating System Family: select Windows
- Locations: select your Options
- Organizations: select your Options
- Name:
- Submit
-
Navigate to Hosts > Provisioning Setup > Operating Systems
-
Click the Create Operating System Button
-
Fill in the Form:
- Name:
WindowsServer2016
- Description:
Windows Server 2016
- Major Version:
2016
- Minor Version: leave empty
- Root Password Hash: select Base64-Windows
- Architectures: select your Architecture, like amd64 or x86_64
- Name:
-
Select the Tab Partition Table
- Filter for Windows
- Add Windows default partition table and Windows default GPT EFI partition table to list
-
Select the Tab Installation Media
- Filter for Windows Images
- Add Windows Images to the list
-
Submit
-
Navigate to Host > Templates > Provisioning Templates
-
Search for Windows
-
For each of the following templates, edit the Options in the Tabs:
- Association: Add Windows Server 2016 to the list
- Locations: select your Options
- Organizations: select your Options
Templates:
- PXELinux chain iPXE
- Windows default finish
- Windows default provision
- Windows default PXELinux
- Windows default iPXE
- Windows peSetup.cmd
- Navigate to Hosts > Provisioning Setup > Operating Systems
- Search for the just created
Windows Server 2016
- Select the Parameters Tab and add at least the
wimImageName
Setting - Submit
- wimImageName: possible options from images.ini
- windowsLicenseKey (string):
ABCDE-ABCDE-ABCDE-ABCDE-ABCDE
- windowsLicenseOwner (string):
Company, INC
- localAdminAccountDisabled (boolean):
true
orfalse
- ntpServer (string):
time.windows.com,pool.ntp.org
- foremanDebug (boolean):
true
orfalse
- systemLocale (string):
en-US
,de-DE
- systemUILanguage (string):
en-US
,de-DE
- systemTimeZone (string):
GMT Standard Time
,Eastern Standard Time
,W. Europe Standard Time
Microsoft Time Zones
- computerDomain (string):
domain.com
- domainAdminAccount (string):
ad-join-user@domain.com
- domainAdminAccountPasswd (string):
securepassword
- computerOU (string):
OU=Computers,CN=domain,CN=com