Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: siprbaum/windows
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: boxcutter/windows
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on May 2, 2018

  1. Rework disabling windows updates and fix bad templates

    Entirely rework and simplify how we disable windows update. This should
    be complete this time according to various docs I can find on the
    Iternet. Later versions of windows pretty aggressively reenable things.
    
    Signed-off-by: Tim Smith <tsmith@chef.io>
    tas50 committed May 2, 2018
    Copy the full SHA
    eab9c94 View commit details
  2. Fix a checksum

    Signed-off-by: Tim Smith <tsmith@chef.io>
    tas50 committed May 2, 2018
    Copy the full SHA
    d90e97b View commit details

Commits on May 7, 2018

  1. Copy the full SHA
    67da572 View commit details
  2. Merge pull request boxcutter#152 from Bluehorn/specify-on-error-flag

    Allow passing on error behaviour via ON_ERROR make variable.
    tas50 authored May 7, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    766ff17 View commit details

Commits on Jun 21, 2018

  1. Fix copy/paste error.

    jeremycornett authored Jun 21, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f94f92b View commit details
  2. Merge pull request boxcutter#154 from jeremycornett/jeremycornett-pat…

    …ch-1
    
    Fix copy/paste error.
    tas50 authored Jun 21, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    72c70ff View commit details

Commits on Jul 12, 2018

  1. Copy the full SHA
    72d2846 View commit details
  2. Merge pull request boxcutter#156 from bkonick/2012r2_2016_URLs

    Fix download URLs for 2012 R2 and 2016
    misheska authored Jul 12, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1652207 View commit details

Commits on Jul 29, 2018

  1. Update to win10 URL for issue boxcutter#157

    boxcutter#157
    
    I'm just a PR custodian in this instance - all credit goes to these folks!
    - @StefanScherer 
    - @externl
    - @tobinquadros
    nickgarber authored Jul 29, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3cdd49c View commit details
  2. Merge pull request boxcutter#158 from nickgarber/nickgarber-issue-157…

    …--update-win10-url
    
    Update to win10 URL for issue boxcutter#157
    rasa authored Jul 29, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fab3a27 View commit details

Commits on Dec 8, 2018

  1. fixed json

    mwinfie committed Dec 8, 2018
    Copy the full SHA
    4601e3e View commit details
  2. Copy the full SHA
    acfe7ae View commit details
  3. added hyperv builder

    mwinfie committed Dec 8, 2018
    Copy the full SHA
    61e0b2c View commit details
  4. Copy the full SHA
    5f63025 View commit details
  5. Copy the full SHA
    c086db1 View commit details

Commits on Dec 9, 2018

  1. Copy the full SHA
    564447c View commit details

Commits on Dec 11, 2018

  1. Merge pull request boxcutter#168 from mwinfie/feature/hyperv

    Feature/hyperv
    rasa authored Dec 11, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1ab3aa7 View commit details

Commits on Jan 12, 2019

  1. Updated all of the templates to use current Packer schema to specify …

    …the cpus, memory for vmware-iso, virtualbox-iso, and parallels-iso. Also updated to use the disk_adapter_type (for vmware-iso).
    arizvisa committed Jan 12, 2019
    Copy the full SHA
    f32a0a5 View commit details

Commits on Feb 12, 2019

  1. Merge pull request boxcutter#170 from arizvisa/builder-schema-update

    Updated all of the templates to use current Packer schema for specifying the cpus and memory.
    tas50 authored Feb 12, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ee2222e View commit details

Commits on Apr 1, 2019

  1. VirtualBox 6 compatibility fix

    Fix:
    Error starting VM: VBoxManage error: VBoxManage: error: Duplicate
    config values '/CPUM/CMPXCHG16B' and '/CPUM/IsaExts/CMPXCHG16B' - please
    remove the former! (VERR_DUPLICATE)
    
    /CPUM/CMPXCHG16B was deprecated at least in 2015 and removed in
    VirtualBox 6.
    rominf authored and Roman Inflianskas committed Apr 1, 2019
    Copy the full SHA
    14e341c View commit details

Commits on Sep 27, 2019

  1. Updated all the templates to use "memory" instead of "ram_size" in th…

    …e hyperv-iso builders so that it corresponds to the most recent Packer schema.
    arizvisa committed Sep 27, 2019
    Copy the full SHA
    b3c238b View commit details

Commits on Dec 22, 2019

  1. Fixed some bunk .json in the win2008r2-web-ssh, eval-win2012r2-datace…

    …nter, and eval-win81x86-enterprise templates.
    arizvisa committed Dec 22, 2019
    Copy the full SHA
    596a0fd View commit details
  2. Copy the full SHA
    600a87c View commit details
  3. Copy the full SHA
    acfb056 View commit details
  4. Updated the vagrantfile_template in the post-processors for all the t…

    …emplates to use the template_dir variable.
    arizvisa committed Dec 22, 2019
    Copy the full SHA
    57428e0 View commit details
  5. Renamed the "cpu" key in the hyperv-iso builders to "cpus" so it corr…

    …esponds to packer's schema.
    arizvisa committed Dec 22, 2019
    Copy the full SHA
    5f0926a View commit details
  6. Merge pull request boxcutter#186 from arizvisa/builder-schema-update2

    Updated the schema for the hyperv-iso builders in all the templates.
    tas50 authored Dec 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5f9c017 View commit details
  7. Merge pull request boxcutter#189 from arizvisa/relocatable-templates

    Updated all the templates to use template_dir so that they can be built from anywhere
    tas50 authored Dec 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ffd99bd View commit details
  8. Merge pull request boxcutter#181 from rominf/virtualbox6

    VirtualBox 6 compatibility fix
    tas50 authored Dec 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8a73a6c View commit details

Commits on Dec 25, 2019

  1. Issue boxcutter#153: Specify hardware version via makefile

    Allows for hardware version to be specified, addressing updated
    versions of VMware Workstation.
    pezhore authored and arizvisa committed Dec 25, 2019
    Copy the full SHA
    9710fea View commit details

Commits on Jan 3, 2020

  1. Added a missing ssh_username and ssh_password key to the hyperv-iso b…

    …uilder in the win7x64-enterprise-cygwin.json template.
    arizvisa committed Jan 3, 2020
    Copy the full SHA
    4b16360 View commit details
  2. Fixed the hyperv-iso builder in the eval-win81x64-enterprise.json tem…

    …plate which somehow worked its way into the post-processors.
    arizvisa committed Jan 3, 2020
    Copy the full SHA
    c51104b View commit details
  3. Fixed the hyperv-iso builder in the eval-win7x64-enterprise-cygwin.js…

    …on template which somehow worked its way into the post-processors.
    arizvisa committed Jan 3, 2020
    Copy the full SHA
    d9ef41d View commit details

Commits on Jan 5, 2020

  1. Removed the "ssh_wait_timeout" key from the hyperv-iso builder in the…

    … win7x64-pro-cygwin.json template as for some reason it's not part of the Packer 1.5.1's schema.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    82afed9 View commit details
  2. Removed the "ssh_wait_timeout" key from the hyperv-iso builder in the…

    … win7x64-pro-ssh.json template as for some reason it's not part of the Packer 1.5.1's schema.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    bbe3794 View commit details
  3. Removed the "ssh_wait_timeout" key from the hyperv-iso builder in the…

    … win7x86-enterprise-cygwin.json template as for some reason it's not part of the Packer 1.5.1's schema.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    fcf4383 View commit details
  4. Removed the "ssh_wait_timeout" key from the hyperv-iso builder in the…

    … win7x86-enterprise-ssh.json, win7x86-pro-cygwin.json, win7x86-pro-ssh.json, win81x64-enterprise-cygwin.json, and the win81x64-enterprise-ssh.json templates.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    deab40c View commit details
  5. Removed the winrm communicator from the win81x86-pro-cygwin.json temp…

    …late as it should be using ssh.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    a8ceafb View commit details
  6. Added a missing ssh_username and ssh_password pair to the hyperv-iso …

    …builder in the win7x64-enterprise-ssh, and the win81x64-pro-{ssh,cygwin} templates.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    4adecce View commit details
  7. Removed usage of the headless key from the parallels-iso builder in t…

    …he win2012r2-standard.json template as it seems to not be part of packer 1.5.1's schema.
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    8fdeab0 View commit details
  8. Some of the win2016-standard-*.json templates had mistakenly used a u…

    …ser variable when defining the user variable for "memory".
    arizvisa committed Jan 5, 2020
    Copy the full SHA
    8c01ef5 View commit details

Commits on Jan 6, 2020

  1. Applied changes in README.md from daxgames/boxcutter_windows@357a5db

    …for updating the Chef provisioner.
    arizvisa committed Jan 6, 2020
    Copy the full SHA
    595cc1c View commit details
  2. Applied changes in .gitignore from daxgames/boxcutter_windows@357a5db

    …for updating the Chef provisioner.
    arizvisa committed Jan 6, 2020
    Copy the full SHA
    2c45298 View commit details
  3. Applied changes in Makefile from daxgames/boxcutter_windows@357a5db f…

    …or updating the Chef provisioner.
    arizvisa committed Jan 6, 2020
    Copy the full SHA
    dedeeef View commit details
  4. Cleaned up changes to script/cmtool.bat from daxgames/boxcutter_windows@

    357a5db so that it only touches the Chef provisioners.
    arizvisa committed Jan 6, 2020
    Copy the full SHA
    f6e7c7d View commit details
  5. Cleaning up PR boxcutter#180 so that it only affects the chef provisi…

    …oner.
    
    Revert "Applied changes in .gitignore from daxgames/boxcutter_windows@357a5db for updating the Chef provisioner."
    
    This reverts commit b9c1098.
    arizvisa committed Jan 6, 2020
    Copy the full SHA
    6c14010 View commit details
  6. Copy the full SHA
    a6fe5a2 View commit details
  7. Apparently one can't be lazy with Chef's Omnitruck API..Fixed script/…

    …cmtool.bat to explicitly specify a lowercase OMNITRUCK_MACHINE_ARCH.
    arizvisa committed Jan 6, 2020
    Copy the full SHA
    cd25232 View commit details

Commits on Jan 8, 2020

  1. Added support for specifying the CM_OPTIONS user-variable to all the …

    …templates in order to allow passing of configuration management options to the provisioning scripts.
    arizvisa committed Jan 8, 2020
    Copy the full SHA
    3428290 View commit details
  2. Added some default placeholders for cm_options to script/cmtool.bat t…

    …hat hand off the cm_options to the cm's installer. However, the semantics of these can change depending on the cmtool, since not all support or need options.
    arizvisa committed Jan 8, 2020
    Copy the full SHA
    2a08bd7 View commit details
Showing with 12,695 additions and 10,321 deletions.
  1. +8 −0 .gitignore
  2. BIN 3rdparty/curl.exe
  3. +1 −0 AUTHORS
  4. +134 −71 Makefile
  5. +225 −9 README.md
  6. +149 −125 eval-win10x64-enterprise-cygwin.json
  7. +145 −122 eval-win10x64-enterprise-ssh.json
  8. +143 −120 eval-win10x64-enterprise.json
  9. +149 −125 eval-win10x86-enterprise-cygwin.json
  10. +145 −122 eval-win10x86-enterprise-ssh.json
  11. +143 −120 eval-win10x86-enterprise.json
  12. +121 −113 eval-win2008r2-datacenter-cygwin.json
  13. +121 −113 eval-win2008r2-datacenter-ssh.json
  14. +124 −114 eval-win2008r2-datacenter.json
  15. +121 −113 eval-win2008r2-standard-cygwin.json
  16. +117 −110 eval-win2008r2-standard-ssh.json
  17. +120 −111 eval-win2008r2-standard.json
  18. +126 −114 eval-win2012r2-datacenter-cygwin.json
  19. +122 −111 eval-win2012r2-datacenter-ssh.json
  20. +124 −111 eval-win2012r2-datacenter.json
  21. +126 −114 eval-win2012r2-standard-cygwin.json
  22. +122 −111 eval-win2012r2-standard-ssh.json
  23. +124 −111 eval-win2012r2-standard.json
  24. +126 −114 eval-win2016-standard-cygwin.json
  25. +122 −111 eval-win2016-standard-ssh.json
  26. +124 −111 eval-win2016-standard.json
  27. +129 −119 eval-win7x64-enterprise-cygwin.json
  28. +129 −119 eval-win7x64-enterprise-ssh.json
  29. +128 −117 eval-win7x64-enterprise.json
  30. +129 −119 eval-win7x86-enterprise-cygwin.json
  31. +125 −116 eval-win7x86-enterprise-ssh.json
  32. +124 −114 eval-win7x86-enterprise.json
  33. +125 −114 eval-win81x64-enterprise-cygwin.json
  34. +125 −115 eval-win81x64-enterprise-ssh.json
  35. +127 −115 eval-win81x64-enterprise.json
  36. +125 −115 eval-win81x86-enterprise-cygwin.json
  37. +121 −112 eval-win81x86-enterprise-ssh.json
  38. +123 −112 eval-win81x86-enterprise.json
  39. +91 −17 floppy/01-install-wget.cmd
  40. +129 −32 floppy/_download.cmd
  41. +17 −0 floppy/_packer_config.cmd
  42. +1 −1 floppy/_post_update_install.bat
  43. +10 −5 floppy/bitvisessh.bat
  44. +11 −6 floppy/cygwin.bat
  45. +14 −23 floppy/disablewinupdate.bat
  46. +1 −0 floppy/eval-win10x64-enterprise/Autounattend.xml
  47. +1 −0 floppy/eval-win10x86-enterprise/Autounattend.xml
  48. +11 −6 floppy/hotfix-KB2842230.bat
  49. +10 −18 floppy/install-winrm.cmd
  50. +10 −5 floppy/openssh.bat
  51. BIN floppy/oracle-cert.cer
  52. +10 −5 floppy/upgrade-wua.bat
  53. +1 −1 floppy/zz-start-transports.cmd
  54. +12 −5 script/01-install-handle.cmd
  55. +247 −0 script/KB2999226.cmd
  56. +226 −82 script/cmtool.bat
  57. +12 −5 script/sdelete.bat
  58. +19 −12 script/ultradefrag.bat
  59. +12 −5 script/vagrant.bat
  60. +223 −115 script/vmtool.bat
  61. +5 −0 tpl/vagrantfile-eval-win10x64-enterprise-cygwin.tpl
  62. +5 −0 tpl/vagrantfile-eval-win10x64-enterprise-ssh.tpl
  63. +5 −0 tpl/vagrantfile-eval-win10x64-enterprise.tpl
  64. +5 −0 tpl/vagrantfile-eval-win10x86-enterprise-cygwin.tpl
  65. +5 −0 tpl/vagrantfile-eval-win10x86-enterprise-ssh.tpl
  66. +5 −0 tpl/vagrantfile-eval-win10x86-enterprise.tpl
  67. +5 −0 tpl/vagrantfile-eval-win2008r2-datacenter-cygwin.tpl
  68. +5 −0 tpl/vagrantfile-eval-win2008r2-datacenter-ssh.tpl
  69. +5 −0 tpl/vagrantfile-eval-win2008r2-datacenter.tpl
  70. +5 −0 tpl/vagrantfile-eval-win2008r2-standard-cygwin.tpl
  71. +5 −0 tpl/vagrantfile-eval-win2008r2-standard-ssh.tpl
  72. +5 −0 tpl/vagrantfile-eval-win2008r2-standard.tpl
  73. +5 −0 tpl/vagrantfile-eval-win2012r2-datacenter-cygwin.tpl
  74. +5 −0 tpl/vagrantfile-eval-win2012r2-datacenter-ssh.tpl
  75. +5 −0 tpl/vagrantfile-eval-win2012r2-datacenter.tpl
  76. +5 −0 tpl/vagrantfile-eval-win2012r2-standard-cygwin.tpl
  77. +5 −0 tpl/vagrantfile-eval-win2012r2-standard-ssh.tpl
  78. +5 −0 tpl/vagrantfile-eval-win2012r2-standard.tpl
  79. +5 −0 tpl/vagrantfile-eval-win2016-standard-cygwin.tpl
  80. +5 −0 tpl/vagrantfile-eval-win2016-standard-ssh.tpl
  81. +5 −0 tpl/vagrantfile-eval-win2016-standard.tpl
  82. +5 −0 tpl/vagrantfile-eval-win7x64-enterprise-cygwin.tpl
  83. +5 −0 tpl/vagrantfile-eval-win7x64-enterprise-ssh.tpl
  84. +5 −0 tpl/vagrantfile-eval-win7x64-enterprise.tpl
  85. +5 −0 tpl/vagrantfile-eval-win7x86-enterprise-cygwin.tpl
  86. +5 −0 tpl/vagrantfile-eval-win7x86-enterprise-ssh.tpl
  87. +5 −0 tpl/vagrantfile-eval-win7x86-enterprise.tpl
  88. +5 −0 tpl/vagrantfile-eval-win81x64-enterprise-cygwin.tpl
  89. +5 −0 tpl/vagrantfile-eval-win81x64-enterprise-ssh.tpl
  90. +5 −0 tpl/vagrantfile-eval-win81x64-enterprise.tpl
  91. +5 −0 tpl/vagrantfile-eval-win81x86-enterprise-cygwin.tpl
  92. +5 −0 tpl/vagrantfile-eval-win81x86-enterprise-ssh.tpl
  93. +5 −0 tpl/vagrantfile-eval-win81x86-enterprise.tpl
  94. +5 −0 tpl/vagrantfile-win2008r2-datacenter-cygwin.tpl
  95. +5 −0 tpl/vagrantfile-win2008r2-datacenter-ssh.tpl
  96. +5 −0 tpl/vagrantfile-win2008r2-datacenter.tpl
  97. +5 −0 tpl/vagrantfile-win2008r2-enterprise-cygwin.tpl
  98. +5 −0 tpl/vagrantfile-win2008r2-enterprise-ssh.tpl
  99. +5 −0 tpl/vagrantfile-win2008r2-enterprise.tpl
  100. +5 −0 tpl/vagrantfile-win2008r2-standard-cygwin.tpl
  101. +5 −0 tpl/vagrantfile-win2008r2-standard-ssh.tpl
  102. +5 −0 tpl/vagrantfile-win2008r2-standard.tpl
  103. +5 −0 tpl/vagrantfile-win2008r2-standardcore-cygwin.tpl
  104. +5 −0 tpl/vagrantfile-win2008r2-standardcore-ssh.tpl
  105. +5 −0 tpl/vagrantfile-win2008r2-standardcore.tpl
  106. +5 −0 tpl/vagrantfile-win2008r2-web-cygwin.tpl
  107. +5 −0 tpl/vagrantfile-win2008r2-web-ssh.tpl
  108. +5 −0 tpl/vagrantfile-win2008r2-web.tpl
  109. +5 −0 tpl/vagrantfile-win2012-datacenter-cygwin.tpl
  110. +5 −0 tpl/vagrantfile-win2012-datacenter-ssh.tpl
  111. +5 −0 tpl/vagrantfile-win2012-datacenter.tpl
  112. +5 −0 tpl/vagrantfile-win2012-standard-cygwin.tpl
  113. +5 −0 tpl/vagrantfile-win2012-standard-ssh.tpl
  114. +5 −0 tpl/vagrantfile-win2012-standard.tpl
  115. +5 −0 tpl/vagrantfile-win2012r2-datacenter-cygwin.tpl
  116. +5 −0 tpl/vagrantfile-win2012r2-datacenter-ssh.tpl
  117. +5 −0 tpl/vagrantfile-win2012r2-datacenter.tpl
  118. +5 −0 tpl/vagrantfile-win2012r2-standard-cygwin.tpl
  119. +5 −0 tpl/vagrantfile-win2012r2-standard-ssh.tpl
  120. +5 −0 tpl/vagrantfile-win2012r2-standard.tpl
  121. +5 −0 tpl/vagrantfile-win2012r2-standardcore-cygwin.tpl
  122. +5 −0 tpl/vagrantfile-win2012r2-standardcore-ssh.tpl
  123. +5 −0 tpl/vagrantfile-win2012r2-standardcore.tpl
  124. +5 −0 tpl/vagrantfile-win2016-standard-cygwin.tpl
  125. +5 −0 tpl/vagrantfile-win2016-standard-ssh.tpl
  126. +5 −0 tpl/vagrantfile-win2016-standard.tpl
  127. +5 −0 tpl/vagrantfile-win7x64-enterprise-cygwin.tpl
  128. +5 −0 tpl/vagrantfile-win7x64-enterprise-ssh.tpl
  129. +5 −0 tpl/vagrantfile-win7x64-enterprise.tpl
  130. +5 −0 tpl/vagrantfile-win7x64-pro-cygwin.tpl
  131. +5 −0 tpl/vagrantfile-win7x64-pro-ssh.tpl
  132. +5 −0 tpl/vagrantfile-win7x64-pro.tpl
  133. +5 −0 tpl/vagrantfile-win7x86-enterprise-cygwin.tpl
  134. +5 −0 tpl/vagrantfile-win7x86-enterprise-ssh.tpl
  135. +5 −0 tpl/vagrantfile-win7x86-enterprise.tpl
  136. +5 −0 tpl/vagrantfile-win7x86-pro-cygwin.tpl
  137. +5 −0 tpl/vagrantfile-win7x86-pro-ssh.tpl
  138. +5 −0 tpl/vagrantfile-win7x86-pro.tpl
  139. +5 −0 tpl/vagrantfile-win81x64-enterprise-cygwin.tpl
  140. +5 −0 tpl/vagrantfile-win81x64-enterprise-ssh.tpl
  141. +5 −0 tpl/vagrantfile-win81x64-enterprise.tpl
  142. +5 −0 tpl/vagrantfile-win81x64-pro-cygwin.tpl
  143. +5 −0 tpl/vagrantfile-win81x64-pro-ssh.tpl
  144. +5 −0 tpl/vagrantfile-win81x64-pro.tpl
  145. +5 −0 tpl/vagrantfile-win81x86-enterprise-cygwin.tpl
  146. +5 −0 tpl/vagrantfile-win81x86-enterprise-ssh.tpl
  147. +5 −0 tpl/vagrantfile-win81x86-enterprise.tpl
  148. +5 −0 tpl/vagrantfile-win81x86-pro-cygwin.tpl
  149. +5 −0 tpl/vagrantfile-win81x86-pro-ssh.tpl
  150. +5 −0 tpl/vagrantfile-win81x86-pro.tpl
  151. +121 −113 win2008r2-datacenter-cygwin.json
  152. +117 −110 win2008r2-datacenter-ssh.json
  153. +120 −111 win2008r2-datacenter.json
  154. +121 −113 win2008r2-enterprise-cygwin.json
  155. +117 −110 win2008r2-enterprise-ssh.json
  156. +120 −111 win2008r2-enterprise.json
  157. +121 −113 win2008r2-standard-cygwin.json
  158. +117 −110 win2008r2-standard-ssh.json
  159. +120 −111 win2008r2-standard.json
  160. +121 −113 win2008r2-web-cygwin.json
  161. +117 −110 win2008r2-web-ssh.json
  162. +120 −111 win2008r2-web.json
  163. +126 −115 win2012-datacenter-cygwin.json
  164. +122 −112 win2012-datacenter-ssh.json
  165. +125 −113 win2012-datacenter.json
  166. +126 −115 win2012-standard-cygwin.json
  167. +122 −112 win2012-standard-ssh.json
  168. +125 −113 win2012-standard.json
  169. +122 −111 win2012r2-datacenter-cygwin.json
  170. +118 −108 win2012r2-datacenter-ssh.json
  171. +119 −107 win2012r2-datacenter.json
  172. +122 −111 win2012r2-standard-cygwin.json
  173. +118 −108 win2012r2-standard-ssh.json
  174. +119 −108 win2012r2-standard.json
  175. +122 −111 win2012r2-standardcore-cygwin.json
  176. +118 −108 win2012r2-standardcore-ssh.json
  177. +119 −107 win2012r2-standardcore.json
  178. +126 −114 win2016-standard-cygwin.json
  179. +122 −111 win2016-standard-ssh.json
  180. +124 −111 win2016-standard.json
  181. +125 −116 win7x64-enterprise-cygwin.json
  182. +121 −113 win7x64-enterprise-ssh.json
  183. +120 −111 win7x64-enterprise.json
  184. +125 −116 win7x64-pro-cygwin.json
  185. +121 −113 win7x64-pro-ssh.json
  186. +120 −111 win7x64-pro.json
  187. +125 −116 win7x86-enterprise-cygwin.json
  188. +121 −113 win7x86-enterprise-ssh.json
  189. +120 −111 win7x86-enterprise.json
  190. +125 −116 win7x86-pro-cygwin.json
  191. +121 −113 win7x86-pro-ssh.json
  192. +120 −111 win7x86-pro.json
  193. +121 −112 win81x64-enterprise-cygwin.json
  194. +117 −109 win81x64-enterprise-ssh.json
  195. +118 −108 win81x64-enterprise.json
  196. +121 −112 win81x64-pro-cygwin.json
  197. +117 −109 win81x64-pro-ssh.json
  198. +118 −108 win81x64-pro.json
  199. +118 −111 win81x86-enterprise-cygwin.json
  200. +114 −108 win81x86-enterprise-ssh.json
  201. +117 −109 win81x86-enterprise.json
  202. +118 −111 win81x86-pro-cygwin.json
  203. +114 −108 win81x86-pro-ssh.json
  204. +117 −109 win81x86-pro.json
  205. +42 −45 wip/win2008r2-standardcore-cygwin.json
  206. +42 −45 wip/win2008r2-standardcore.json
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -9,5 +9,13 @@ tmp
.vagrant/
*.swp
Makefile.local
rspec_html_reports

.DS_Store

floppy/_packer_config_*.cmd

*.*.json
floppy/*.*.*
script/*.*.*

Binary file added 3rdparty/curl.exe
Binary file not shown.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
Blake Garner <blake@netjibbing.com>
Joe Fitzgerald <jfitzgerald@pivotal.io>
Julian C. Dunn <jdunn@aquezada.com>
Brian Marsh <pezhore@gmail.com>
Ken Sykora <ksykora@nerdery.com>
Mischa Taylor <mischa@misheska.com>
Nolen Scaife <nolen@scaife.org>
205 changes: 134 additions & 71 deletions Makefile

Large diffs are not rendered by default.

234 changes: 225 additions & 9 deletions README.md

Large diffs are not rendered by default.

274 changes: 149 additions & 125 deletions eval-win10x64-enterprise-cygwin.json
Original file line number Diff line number Diff line change
@@ -1,177 +1,197 @@
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows9-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win10x64-enterprise-cygwin",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}",
"scsi0.virtualDev": "lsisas1068"
}
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"disk_adapter_type": "lsisas1068",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows10_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"VBoxInternal/CPUM/IsaExts/CMPXCHG16B",
"1"
]
],
"vm_name": "eval-win10x64-enterprise-cygwin"
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"guest_os_type": "win-8.1",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "win-10",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
"--efi-boot",
"off"
]
],
"shutdown_command": "{{ user `shutdown_command`}}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win10x64-enterprise-cygwin"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win10x64-enterprise-cygwin-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win10x64-enterprise-cygwin.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win10x64-enterprise-cygwin.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "C:/Windows/Temp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "shell"
},
@@ -183,16 +203,20 @@
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win10x64-enterprise",
"vm_suffix": "-cygwin",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"hw_version": "7",
"iso_url": "https://software-download.microsoft.com/download/pr/19042.508.200927-1902.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"iso_checksum": "574F00380EAD9E4B53921C33BF348B5A2FA976FFAD1D5FA20466DDF7F0258964",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"iso_checksum": "3b5f9494d870726d6d8a833aaf6169a964b8a9be",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/5/D/65D18931-F626-4A35-AD5B-F5DA41FE6B76/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"update": "true",
"version": "0.1.0"
}
267 changes: 145 additions & 122 deletions eval-win10x64-enterprise-ssh.json
Original file line number Diff line number Diff line change
@@ -1,174 +1,193 @@
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/openssh.bat",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows9-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win10x64-enterprise-ssh",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}",
"scsi0.virtualDev": "lsisas1068"
}
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"disk_adapter_type": "lsisas1068",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/openssh.bat",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows10_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"VBoxInternal/CPUM/IsaExts/CMPXCHG16B",
"1"
]
],
"vm_name": "eval-win10x64-enterprise-ssh"
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/openssh.bat",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"guest_os_type": "win-8.1",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "win-10",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
"--efi-boot",
"off"
]
],
"shutdown_command": "{{ user `shutdown_command`}}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win10x64-enterprise-ssh"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win10x64-enterprise-ssh-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win10x64-enterprise-ssh.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win10x64-enterprise-ssh.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "/tmp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "shell"
},
@@ -180,16 +199,20 @@
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win10x64-enterprise",
"vm_suffix": "-ssh",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"hw_version": "7",
"iso_url": "https://software-download.microsoft.com/download/pr/19042.508.200927-1902.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"iso_checksum": "574F00380EAD9E4B53921C33BF348B5A2FA976FFAD1D5FA20466DDF7F0258964",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"iso_checksum": "3b5f9494d870726d6d8a833aaf6169a964b8a9be",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/5/D/65D18931-F626-4A35-AD5B-F5DA41FE6B76/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"update": "true",
"version": "0.1.0"
}
263 changes: 143 additions & 120 deletions eval-win10x64-enterprise.json
Original file line number Diff line number Diff line change
@@ -1,187 +1,210 @@
{
"builders": [
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"communicator": "winrm",
"guest_os_type": "windows9-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win10x64-enterprise",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}",
"scsi0.virtualDev": "lsisas1068"
},
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"disk_adapter_type": "lsisas1068",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
"winrm_timeout": "10000s"
},
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"communicator": "winrm",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows10_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"VBoxInternal/CPUM/IsaExts/CMPXCHG16B",
"1"
]
],
"vm_name": "eval-win10x64-enterprise",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
"winrm_timeout": "10000s"
},
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x64-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"guest_os_type": "win-8.1",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"communicator": "winrm",
"guest_os_type": "win-10",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
"--efi-boot",
"off"
]
],
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/eval-win10x64-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"type": "parallels-iso",
"vm_name": "eval-win10x64-enterprise",
"communicator": "winrm",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
"winrm_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win10x64-enterprise-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win10x64-enterprise.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win10x64-enterprise.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "windows-shell"
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win10x64-enterprise",
"vm_suffix": "",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"hw_version": "7",
"iso_url": "https://software-download.microsoft.com/download/pr/19042.508.200927-1902.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"iso_checksum": "574F00380EAD9E4B53921C33BF348B5A2FA976FFAD1D5FA20466DDF7F0258964",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"iso_checksum": "3b5f9494d870726d6d8a833aaf6169a964b8a9be",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/5/D/65D18931-F626-4A35-AD5B-F5DA41FE6B76/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"update": "true",
"version": "0.1.0"
}
274 changes: 149 additions & 125 deletions eval-win10x86-enterprise-cygwin.json
Original file line number Diff line number Diff line change
@@ -1,177 +1,197 @@
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows9",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win10x86-enterprise-cygwin",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}",
"scsi0.virtualDev": "lsisas1068"
}
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"disk_adapter_type": "lsisas1068",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows10",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"VBoxInternal/CPUM/IsaExts/CMPXCHG16B",
"1"
]
],
"vm_name": "eval-win10x86-enterprise-cygwin"
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"guest_os_type": "win-8.1",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "win-10",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
"--efi-boot",
"off"
]
],
"shutdown_command": "{{ user `shutdown_command`}}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win10x86-enterprise-cygwin"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win10x86-enterprise-cygwin-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win10x86-enterprise-cygwin.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win10x86-enterprise-cygwin.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "C:/Windows/Temp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "shell"
},
@@ -183,16 +203,20 @@
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win10x86-enterprise",
"vm_suffix": "-cygwin",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"hw_version": "7",
"iso_url": "https://software-download.microsoft.com/download/pr/19042.508.200927-1902.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso",
"iso_checksum": "5F28F9C7BFCE3307E8DAF5F5A7FBEABB9008776859F828A0348B5F0F46A590D9",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"iso_checksum": "4a75747a47eb689497fe57d64cec375c7949aa97",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/5/D/65D18931-F626-4A35-AD5B-F5DA41FE6B76/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"update": "true",
"version": "0.1.0"
}
267 changes: 145 additions & 122 deletions eval-win10x86-enterprise-ssh.json
Original file line number Diff line number Diff line change
@@ -1,174 +1,193 @@
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/openssh.bat",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows9",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win10x86-enterprise-ssh",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}",
"scsi0.virtualDev": "lsisas1068"
}
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"disk_adapter_type": "lsisas1068",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/openssh.bat",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows10",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"VBoxInternal/CPUM/IsaExts/CMPXCHG16B",
"1"
]
],
"vm_name": "eval-win10x86-enterprise-ssh"
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/openssh.bat",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"guest_os_type": "win-8.1",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "win-10",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
"--efi-boot",
"off"
]
],
"shutdown_command": "{{ user `shutdown_command`}}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win10x86-enterprise-ssh"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win10x86-enterprise-ssh-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win10x86-enterprise-ssh.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win10x86-enterprise-ssh.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "/tmp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "shell"
},
@@ -180,16 +199,20 @@
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win10x86-enterprise",
"vm_suffix": "-ssh",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"hw_version": "7",
"iso_url": "https://software-download.microsoft.com/download/pr/19042.508.200927-1902.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso",
"iso_checksum": "5F28F9C7BFCE3307E8DAF5F5A7FBEABB9008776859F828A0348B5F0F46A590D9",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"iso_checksum": "4a75747a47eb689497fe57d64cec375c7949aa97",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/5/D/65D18931-F626-4A35-AD5B-F5DA41FE6B76/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"update": "true",
"version": "0.1.0"
}
263 changes: 143 additions & 120 deletions eval-win10x86-enterprise.json
Original file line number Diff line number Diff line change
@@ -1,187 +1,210 @@
{
"builders": [
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"communicator": "winrm",
"guest_os_type": "windows9",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win10x86-enterprise",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}",
"scsi0.virtualDev": "lsisas1068"
},
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"disk_adapter_type": "lsisas1068",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
"winrm_timeout": "10000s"
},
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"communicator": "winrm",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows81",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"VBoxInternal/CPUM/IsaExts/CMPXCHG16B",
"1"
]
],
"vm_name": "eval-win10x86-enterprise",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
"winrm_timeout": "10000s"
},
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/slim_win10.bat",
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/_post_update_install.bat",
"floppy/autologon.bat",
"floppy/disablewinupdate.bat",
"floppy/eval-win10x86-enterprise/Autounattend.xml",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/update.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"guest_os_type": "win-8.1",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"communicator": "winrm",
"guest_os_type": "win-10",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
"--efi-boot",
"off"
]
],
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/eval-win10x86-enterprise/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/_post_update_install.bat",
"{{template_dir}}/floppy/autologon.bat",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/fixnetwork.ps1",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/slim_win10.bat",
"{{template_dir}}/floppy/update.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"type": "parallels-iso",
"vm_name": "eval-win10x86-enterprise",
"communicator": "winrm",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
"winrm_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win10x86-enterprise-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win10x86-enterprise.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win10x86-enterprise.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "windows-shell"
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win10x86-enterprise",
"vm_suffix": "",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"hw_version": "7",
"iso_url": "https://software-download.microsoft.com/download/pr/19042.508.200927-1902.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso",
"iso_checksum": "5F28F9C7BFCE3307E8DAF5F5A7FBEABB9008776859F828A0348B5F0F46A590D9",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"iso_checksum": "4a75747a47eb689497fe57d64cec375c7949aa97",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/5/D/65D18931-F626-4A35-AD5B-F5DA41FE6B76/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"update": "true",
"version": "0.1.0"
}
234 changes: 121 additions & 113 deletions eval-win2008r2-datacenter-cygwin.json
Original file line number Diff line number Diff line change
@@ -1,155 +1,160 @@
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/win2008r2-datacenter/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows7srv-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win2008r2-datacenter-cygwin",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}"
}
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/win2008r2-datacenter/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/zz-start-transports.cmd",
"floppy/oracle-cert.cer"
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows2008_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
],
"vm_name": "eval-win2008r2-datacenter-cygwin"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/win2008r2-datacenter/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/cygwin.bat",
"floppy/cygwin.sh",
"floppy/disablewinupdate.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "win-2008",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/cygwin.bat",
"{{template_dir}}/floppy/cygwin.sh",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win2008r2-datacenter-cygwin"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win2008r2-datacenter-cygwin-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win2008r2-datacenter-cygwin.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win2008r2-datacenter-cygwin.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "C:/Windows/Temp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "shell"
},
@@ -161,18 +166,21 @@
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win2008r2-datacenter",
"vm_suffix": "-cygwin",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"headless": "false",
"iso_checksum": "beed231a34e90e1dd9a04b3afabec31d62ce3889",
"hw_version": "7",
"iso_url": "http://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"iso_checksum": "beed231a34e90e1dd9a04b3afabec31d62ce3889",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"update": "true",
"version": "0.1.0"
}
}

234 changes: 121 additions & 113 deletions eval-win2008r2-datacenter-ssh.json
Original file line number Diff line number Diff line change
@@ -1,155 +1,160 @@
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"type": "vmware-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/win2008r2-datacenter/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/openssh.bat",
"floppy/disablewinupdate.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/upgrade-wua.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows7srv-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win2008r2-datacenter-ssh",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}"
}
"version": "{{ user `hw_version` }}",
"cpus": "{{ user `cpus` }}",
"cores": 1,
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "virtualbox-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/win2008r2-datacenter/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/openssh.bat",
"floppy/disablewinupdate.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd",
"floppy/oracle-cert.cer"
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/upgrade-wua.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows2008_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"hard_drive_interface": "sata",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
],
"vm_name": "eval-win2008r2-datacenter-ssh"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"disk_size": "{{user `disk_size`}}",
"type": "parallels-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"floppy/win2008r2-datacenter/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/openssh.bat",
"floppy/disablewinupdate.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd"
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/upgrade-wua.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "win-2008",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
},
{
"type": "hyperv-iso",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"floppy_files": [
"{{template_dir}}/floppy/win2008r2-datacenter/Autounattend.xml",
"{{template_dir}}/floppy/00-run-all-scripts.cmd",
"{{template_dir}}/floppy/01-install-wget.cmd",
"{{template_dir}}/floppy/_download.cmd",
"{{template_dir}}/floppy/_packer_config*.cmd",
"{{template_dir}}/floppy/disablewinupdate.bat",
"{{template_dir}}/floppy/install-winrm.cmd",
"{{template_dir}}/floppy/openssh.bat",
"{{template_dir}}/floppy/passwordchange.bat",
"{{template_dir}}/floppy/powerconfig.bat",
"{{template_dir}}/floppy/upgrade-wua.bat",
"{{template_dir}}/floppy/zz-start-transports.cmd",
"{{template_dir}}/3rdparty/curl.exe"
],
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"headless": "{{ user `headless` }}",
"cpus": "{{ user `cpus` }}",
"memory": "{{ user `memory` }}",
"disk_size": "{{user `disk_size`}}",
"vm_name": "{{user `vm_name`}}",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win2008r2-datacenter-ssh"
"ssh_password": "vagrant",
"ssh_timeout": "10000s"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win2008r2-datacenter-ssh-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"output": "{{user `box_directory`}}{{.Provider}}/{{user `vm_name`}}{{user `vm_suffix`}}-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win2008r2-datacenter-ssh.tpl"
"vagrantfile_template": "{{template_dir}}/tpl/vagrantfile-eval-win2008r2-datacenter-ssh.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_OPTIONS={{user `cm_options`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "/tmp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
"{{template_dir}}/script/vagrant.bat",
"{{template_dir}}/script/KB2999226.cmd",
"{{template_dir}}/script/cmtool.bat",
"{{template_dir}}/script/vmtool.bat",
"{{template_dir}}/script/clean.bat",
"{{template_dir}}/script/ultradefrag.bat",
"{{template_dir}}/script/uninstall-7zip.bat",
"{{template_dir}}/script/sdelete.bat"
],
"type": "shell"
},
@@ -161,18 +166,21 @@
}
],
"variables": {
"cpus": "2",
"memory": "2048",
"guest_additions_url": "",
"vm_name": "eval-win2008r2-datacenter",
"vm_suffix": "-ssh",
"cm": "chef",
"cm_version": "",
"cpus": "2",
"memory": "2048",
"disk_size": "40960",
"headless": "false",
"iso_checksum": "beed231a34e90e1dd9a04b3afabec31d62ce3889",
"hw_version": "7",
"iso_url": "http://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"iso_checksum": "beed231a34e90e1dd9a04b3afabec31d62ce3889",
"guest_additions_url": "",
"box_directory": "box/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c Packer_Shutdown",
"headless": "false",
"update": "true",
"version": "0.1.0"
}
}

Loading