Guest User

Untitled

a guest
Oct 16th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. {
  2. "builders": [{
  3. "type": "virtualbox-iso",
  4. "output_directory": "output-win2016",
  5. "iso_url": "{{user `iso_url`}}",
  6. "iso_checksum_type": "{{user `iso_checksum_type`}}",
  7. "iso_checksum": "{{user `iso_checksum`}}",
  8. "guest_additions_mode": "upload",
  9. "guest_additions_path": "C:/users/vagrant/VBoxGuestAdditions.iso",
  10. "hard_drive_interface": "sata",
  11. "headless": false,
  12. "boot_wait": "{{user `boot_wait`}}",
  13. "communicator": "{{user `winrm`}}",
  14. "winrm_username": "{{user `winrm_username`}}",
  15. "winrm_password": "{{user `winrm_password`}}",
  16. "winrm_timeout": "{{user `winrm_timeout`}}",
  17. "shutdown_command": "{{user `shutdown_command`}}",
  18. "shutdown_timeout": "{{user `shutdown_timeout`}}",
  19. "guest_os_type": "Windows2016_64",
  20. "disk_size": "{{user `disk_size`}}"
  21. }],
  22. "provisioners": [{
  23. "type": "powershell"
  24. }],
  25. "variables": {
  26. "iso_url": "file:////Users/me/somefile.iso",
  27. "iso_checksum_type": "none",
  28. "autounattend": "./answer_files/2016/Autounattend.xml",
  29. "sysprep_autounattend": "./answer_files/2016/sysprep_Autounattend.xml",
  30. "boot_wait": "2m",
  31. "shutdown_command": "A:/packer_shutdown.bat",
  32. "shutdown_timeout": "2h",
  33. "communicator": "winrm",
  34. "winrm_username": "vagrant",
  35. "winrm_password": "vagrant",
  36. "winrm_timeout": "2h",
  37. "headless": "false",
  38. "disk_size": "40000"
  39. }
  40. }
Add Comment
Please, Sign In to add comment