Guest User

Untitled

a guest
Oct 23rd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. {
  2. "builders": [
  3. {
  4. "type": "hyperv-vmcx",
  5. "clone_from_vmcx_path": "C:\\Users\\yooak\\source\\Basefarm\\packer-templates\\output-base\\Virtual Machines\\983A3EDE-0624-4A5C-A0BE-91FA050F68A5.vmcx",
  6. "output_directory": "./output-updates/",
  7. "communicator": "winrm",
  8. "winrm_username": "vagrant",
  9. "winrm_password": "vagrant",
  10. "winrm_timeout": "12h",
  11. "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
  12. "shutdown_timeout": "1h",
  13. "ram_size": 4096,
  14. "cpu": 2,
  15. "switch_name": "Default Switch",
  16. "floppy_files": [
  17. "answer_files/2016/Autounattend.xml",
  18. "./scripts/bootstrap.ps1",
  19. "./scripts/unattend.xml"
  20. ]
  21. }
  22. ],
  23. "provisioners": [
  24. {
  25. "type": "powershell",
  26. "elevated_user": "vagrant",
  27. "elevated_password": "vagrant",
  28. "inline": [
  29. "Get-WUInstall -MicrosoftUpdate -AcceptAll -IgnoreReboot"
  30. ]
  31. },
  32. {
  33. "type": "windows-restart",
  34. "restart_timeout": "1h"
  35. }
  36. ]
  37. }
Add Comment
Please, Sign In to add comment