forked from joefitzgerald/packer-windows
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding Windows XP template, for qemu, virtualbox, vmware, based on jo…
- Loading branch information
Showing
16 changed files
with
1,047 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[Data] | ||
Autopartition=1 | ||
MsDosInitiated=0 | ||
UnattendedInstall="Yes" | ||
|
||
[Unattended] | ||
Repartition=Yes | ||
UnattendMode=FullUnattended | ||
UnattendSwitch="Yes" | ||
OemPreinstall="Yes" | ||
OemSkipEula="Yes" | ||
FileSystem=* | ||
WaitForReboot="No" | ||
NoWaitAfterTextMode=1 | ||
NoWaitAfterGUIMode=1 | ||
DriverSigningPolicy=Ignore | ||
NonDriverSigningPolicy=Ignore | ||
|
||
[GuiUnattended] | ||
EncryptedAdminPassword="No" | ||
AutoLogon="Yes" | ||
AdminPassword="vagrant" | ||
TimeZone=020 | ||
OEMSkipRegional=1 | ||
OemSkipWelcome=1 | ||
|
||
[Components] | ||
|
||
[UserData] | ||
ProductKey="QW4HD-DQCRG-HM64M-6GJRK-8K83T" | ||
ComputerName=vagrant | ||
FullName="vagrant" | ||
OrgName="vagrant" | ||
|
||
[RegionalSettings] | ||
LanguageGroup=1 | ||
Language="0409" | ||
|
||
[Networking] | ||
InstallDefaultComponents="Yes" | ||
|
||
[Identification] | ||
JoinWorkgroup="WORKGROUP" | ||
|
||
[GuiRunOnce] | ||
Command0="cmd /c mkdir c:\temp" | ||
Command1="cmd /c reg add HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v forceguest /t REG_DWORD /d 0 /f" | ||
Command2="cmd /c cscript a:\extract_wget_zip.vbs" | ||
Command3="cmd /c c:\temp\bin\wget https://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe -O c:\temp\dotnet.exe --no-check-certificate" | ||
Command4="cmd /c start /w c:\temp\dotnet.exe /passive /norestart" | ||
Command5="cmd /c c:\temp\bin\wget https://download.microsoft.com/download/E/C/E/ECE99583-2003-455D-B681-68DB610B44A4/WindowsXP-KB968930-x86-ENG.exe -O c:\temp\winrm.exe --no-check-certificate" | ||
Command6="cmd /c start /w c:\temp\winrm.exe /passive /norestart" | ||
Command7="cmd /c a:\setup_winrm.bat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
{ | ||
"min_packer_version": "1.3.4", | ||
"builders": [ | ||
{ | ||
"type": "vmware-iso", | ||
"name": "WindowsUpdateAgent30-x86.exe", | ||
"output_directory": "output/WindowsUpdateAgent30", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "http://go.microsoft.com/fwlink/?LinkID=100334", | ||
"iso_target_extension": "exe", | ||
"iso_checksum": "ce7affc4c1546a5eeb65d530a40f29a5cbf315770d24a6fe93c777e951272060", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
|
||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "virtualbox-iso", | ||
"name": "WindowsUpdateAgent30-x64.exe", | ||
"output_directory": "output/WindowsUpdateAgent30", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "http://go.microsoft.com/fwlink/?LinkID=100335", | ||
"iso_checksum": "b7154b2a6d8a0e003767793d77c7f243225bb19394b28f21d90588a6e889cb80", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "{{user `packer_type`}}", | ||
"name": "WindowsUpdateAgent30-ia64.exe", | ||
"output_directory": "output/WindowsUpdateAgent30", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "http://go.microsoft.com/fwlink/?LinkID=100336", | ||
"iso_checksum": "65ec6c8d917f5fd8858a035acc7dfd3dd3d94bb8d954d430af4db20d4fa25587", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "{{user `packer_type`}}", | ||
"name": "NetFx20SP1_x86.exe", | ||
"output_directory": "output/WindowsUpdateAgent30", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "https://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe", | ||
"iso_checksum": "c36c3a1d074de32d53f371c665243196a7608652a2fc6be9520312d5ce560871", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "{{user `packer_type`}}", | ||
"name": "WindowsXP-KB968930-x86-ENG.exe", | ||
"output_directory": "output/WindowsUpdateAgent30", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "https://download.microsoft.com/download/E/C/E/ECE99583-2003-455D-B681-68DB610B44A4/WindowsXP-KB968930-x86-ENG.exe", | ||
"iso_checksum": "0ef2a9b4f500b66f418660e54e18f5f525ed8d0a4d7c50ce01c5d1d39767c00c", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "{{user `packer_type`}}", | ||
"name": "7zr.exe Bootstrap 18.01", | ||
"output_directory": "output/7zrBootstrap", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "https://www.7-zip.org/a/7zr.exe", | ||
"iso_checksum": "ce7affc4c1546a5eeb65d530a40f29a5cbf315770d24a6fe93c777e951272060", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "{{user `packer_type`}}", | ||
"name": "7zr.exe", | ||
"output_directory": "output/7zip", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "https://www.7-zip.org/a/7z1900-extra.7z", | ||
"iso_checksum": "af6eca1c8578df776189ee7785ab5d21525e42590f788c4e82e961a36c3a5306", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
}, | ||
{ | ||
"type": "{{user `packer_type`}}", | ||
"name": "7zdec.exe", | ||
"output_directory": "output/7zip", | ||
"headless": true, | ||
"disk_size": 1, | ||
"boot_wait": "5s", | ||
"iso_url": "https://www.7-zip.org/a/lzma1900.7z", | ||
"iso_checksum": "00f569e624b3d9ed89cf8d40136662c4c5207eaceb92a70b1044c77f84234bad", | ||
"iso_checksum_type": "sha256", | ||
"ssh_username": "root", | ||
"ssh_password": "vagrant", | ||
"ssh_port": 22, | ||
"ssh_wait_timeout": "10s", | ||
"shutdown_command": "poweroff" | ||
} | ||
], | ||
"variables": { | ||
"packer_type": "vbox-iso", | ||
"memory_size": "2048", | ||
"disk_size": "65535", | ||
"_comment_headless": "true", | ||
"headless": "false", | ||
"iso_url": "../_VMS_XP-ISOs__GEPRUEFT_org_Microsoft/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso", | ||
"iso_checksum": "fd8c8d42c1581e8767217fe800bfc0d5649c0ad20d754c927d6c763e446d1927", | ||
"iso_checksum_type": "sha256", | ||
"autounattend": "answer_files/xp/WINNT.SIF" | ||
} | ||
|
||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
; Copyright (c) 2003-09 Intel Corporation | ||
;############################################################################# | ||
;# | ||
;# Filename: TXTSETUP.OEM | ||
;# | ||
;############################################################################# | ||
[Disks] | ||
disk1 = "Intel(R) Matrix Storage Manager Driver", iaStor.sys, \ | ||
|
||
[Defaults] | ||
scsi = iaStor_8ME9MEPCHM | ||
|
||
;############################################################################# | ||
[scsi] | ||
|
||
; iaAHCI.inf | ||
iaAHCI_ESB2 = "Intel(R) ESB2 SATA AHCI Controller" | ||
iaAHCI_7RDH = "Intel(R) ICH7R/DH SATA AHCI Controller" | ||
iaAHCI_7MMDH = "Intel(R) ICH7M/MDH SATA AHCI Controller" | ||
iaAHCI_8RDHDO = "Intel(R) ICH8R/DH/DO SATA AHCI Controller" | ||
iaAHCI_8MEM = "Intel(R) ICH8M-E/M SATA AHCI Controller" | ||
iaAHCI_9RDODH = "Intel(R) ICH9R/DO/DH SATA AHCI Controller" | ||
iaAHCI_9MEM = "Intel(R) ICH9M-E/M SATA AHCI Controller" | ||
iaAHCI_10DDO = "Intel(R) ICH10D/DO SATA AHCI Controller" | ||
iaAHCI_10R = "Intel(R) ICH10R SATA AHCI Controller" | ||
iaAHCI_PCHM = "Intel(R) PCHM SATA AHCI Controller 4 Port" | ||
iaAHCI_PCHM_1 = "Intel(R) PCHM SATA AHCI Controller 6 Port" | ||
iaAHCI_PCH = "Intel(R) PCH SATA AHCI Controller" | ||
|
||
; iaStor.inf | ||
iaStor_ESB2 = "Intel(R) ESB2 SATA RAID Controller" | ||
iaStor_7RDH = "Intel(R) ICH7R/DH SATA RAID Controller" | ||
iaStor_7MDH = "Intel(R) ICH7MDH SATA RAID Controller" | ||
iaStor_8R9R10RDOPCH = "Intel(R) ICH8R/ICH9R/ICH10R/DO/PCH SATA RAID Controller" | ||
iaStor_8ME9MEPCHM = "Intel(R) ICH8M-E/ICH9M-E/PCHM SATA RAID Controller" | ||
|
||
;############################################################################# | ||
|
||
; iaAHCI.inf | ||
[Files.scsi.iaAHCI_ESB2] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_7RDH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_7MMDH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_8RDHDO] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_8MEM] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_9RDODH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_9MEM] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_10DDO] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_10R] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_PCHM] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_PCHM_1] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
[Files.scsi.iaAHCI_PCH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaAHCI.inf | ||
catalog = disk1, iaAHCI.cat | ||
|
||
|
||
; iaStor.inf | ||
[Files.scsi.iaStor_ESB2] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaStor.inf | ||
catalog = disk1, iaStor.cat | ||
|
||
[Files.scsi.iaStor_7RDH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaStor.inf | ||
catalog = disk1, iaStor.cat | ||
|
||
[Files.scsi.iaStor_7MDH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaStor.inf | ||
catalog = disk1, iaStor.cat | ||
|
||
[Files.scsi.iaStor_8R9R10RDOPCH] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaStor.inf | ||
catalog = disk1, iaStor.cat | ||
|
||
[Files.scsi.iaStor_8ME9MEPCHM] | ||
driver = disk1, iaStor.sys, iaStor | ||
inf = disk1, iaStor.inf | ||
catalog = disk1, iaStor.cat | ||
|
||
|
||
;############################################################################# | ||
[Config.iaStor] | ||
value = "", tag, REG_DWORD, 1b | ||
value = "", ErrorControl, REG_DWORD, 1 | ||
value = "", Group, REG_SZ, "SCSI Miniport" | ||
value = "", Start, REG_DWORD, 0 | ||
value = "", Type, REG_DWORD, 1 | ||
|
||
;############################################################################# | ||
|
||
; iaAHCI.inf | ||
[HardwareIds.scsi.iaAHCI_ESB2] | ||
id = "PCI\VEN_8086&DEV_2681&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_7RDH] | ||
id = "PCI\VEN_8086&DEV_27C1&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_7MMDH] | ||
id = "PCI\VEN_8086&DEV_27C5&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_8RDHDO] | ||
id = "PCI\VEN_8086&DEV_2821&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_8MEM] | ||
id = "PCI\VEN_8086&DEV_2829&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_9RDODH] | ||
id = "PCI\VEN_8086&DEV_2922&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_9MEM] | ||
id = "PCI\VEN_8086&DEV_2929&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_10DDO] | ||
id = "PCI\VEN_8086&DEV_3A02&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_10R] | ||
id = "PCI\VEN_8086&DEV_3A22&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_PCHM] | ||
id = "PCI\VEN_8086&DEV_3B29&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_PCHM_1] | ||
id = "PCI\VEN_8086&DEV_3B2F&CC_0106","iaStor" | ||
|
||
[HardwareIds.scsi.iaAHCI_PCH] | ||
id = "PCI\VEN_8086&DEV_3B22&CC_0106","iaStor" | ||
|
||
|
||
; iaStor.inf | ||
[HardwareIds.scsi.iaStor_ESB2] | ||
id = "PCI\VEN_8086&DEV_2682&CC_0104","iaStor" | ||
|
||
[HardwareIds.scsi.iaStor_7RDH] | ||
id = "PCI\VEN_8086&DEV_27C3&CC_0104","iaStor" | ||
|
||
[HardwareIds.scsi.iaStor_7MDH] | ||
id = "PCI\VEN_8086&DEV_27C6&CC_0104","iaStor" | ||
|
||
[HardwareIds.scsi.iaStor_8R9R10RDOPCH] | ||
id = "PCI\VEN_8086&DEV_2822&CC_0104","iaStor" | ||
|
||
[HardwareIds.scsi.iaStor_8ME9MEPCHM] | ||
id = "PCI\VEN_8086&DEV_282A&CC_0104","iaStor" | ||
|
Oops, something went wrong.