Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "builders": [{
- "type": "virtualbox-iso",
- "output_directory": "output-win2016",
- "iso_url": "{{user `iso_url`}}",
- "iso_checksum_type": "{{user `iso_checksum_type`}}",
- "iso_checksum": "{{user `iso_checksum`}}",
- "guest_additions_mode": "upload",
- "guest_additions_path": "C:/users/vagrant/VBoxGuestAdditions.iso",
- "hard_drive_interface": "sata",
- "headless": false,
- "boot_wait": "{{user `boot_wait`}}",
- "communicator": "{{user `winrm`}}",
- "winrm_username": "{{user `winrm_username`}}",
- "winrm_password": "{{user `winrm_password`}}",
- "winrm_timeout": "{{user `winrm_timeout`}}",
- "shutdown_command": "{{user `shutdown_command`}}",
- "shutdown_timeout": "{{user `shutdown_timeout`}}",
- "guest_os_type": "Windows2016_64",
- "disk_size": "{{user `disk_size`}}"
- }],
- "provisioners": [{
- "type": "powershell"
- }],
- "variables": {
- "iso_url": "file:////Users/me/somefile.iso",
- "iso_checksum_type": "none",
- "autounattend": "./answer_files/2016/Autounattend.xml",
- "sysprep_autounattend": "./answer_files/2016/sysprep_Autounattend.xml",
- "boot_wait": "2m",
- "shutdown_command": "A:/packer_shutdown.bat",
- "shutdown_timeout": "2h",
- "communicator": "winrm",
- "winrm_username": "vagrant",
- "winrm_password": "vagrant",
- "winrm_timeout": "2h",
- "headless": "false",
- "disk_size": "40000"
- }
- }
Add Comment
Please, Sign In to add comment