Last active
June 26, 2017 12:23
-
-
Save gusztavvargadr/eb7b9bc285922e8a70c25ed30ea9f775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"name": "w10e-hyperv-sysprep", | |
"description": "Windows 10 Enterprise", | |
"version": "0.7.0", | |
"author": "gusztavvargadr", | |
"output_directory": "output", | |
"hyperv_ram_size": "4096", | |
"hyperv_enable_dynamic_memory": "false", | |
"hyperv_cpu": "2", | |
"hyperv_enable_virtualization_extensions": "true", | |
"hyperv_enable_mac_spoofing": "true", | |
"hyperv_boot_wait": "1m", | |
"hyperv_communicator": "winrm", | |
"hyperv_winrm_username": "vagrant", | |
"hyperv_winrm_password": "vagrant", | |
"hyperv_winrm_timeout": "1h", | |
"hyperv_guest_additions_mode": "disable", | |
"hyperv_shutdown_command": "A:/shutdown.cmd", | |
"hyperv_disk_size": "130048", | |
"hyperv_floppy_files": "builders/hyperv-iso/floppy", | |
"iso_url": "http://care.dlservice.microsoft.com/dl/download/B/8/B/B8B452EC-DD2D-4A8F-A88C-D2180C177624/15063.0.170317-1834.RS2_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO", | |
"iso_checksum_type": "sha1", | |
"iso_checksum": "6c60f91bf0ad7b20f469ab8f80863035c517f34f", | |
"chef_source": "provisioners/chef", | |
"chef_destination": "C:/packer-chef", | |
"chef_guest_os_type": "windows", | |
"chef_skip_install": "true", | |
"chef_run_list_prepare": "recipe[gusztavvargadr_packer_hyperv_iso::prepare],recipe[gusztavvargadr_packer_w10e::prepare]", | |
"chef_run_list_install": "recipe[gusztavvargadr_packer_hyperv_iso::install],recipe[gusztavvargadr_packer_w10e::install]", | |
"chef_run_list_patch": "recipe[gusztavvargadr_packer_hyperv_iso::patch],recipe[gusztavvargadr_packer_w10e::patch]", | |
"chef_run_list_cleanup": "recipe[gusztavvargadr_packer_hyperv_iso::cleanup],recipe[gusztavvargadr_packer_w10e::cleanup]", | |
"chef_restart_timeout": "1h", | |
"sysprep_source": "provisioners/sysprep", | |
"sysprep_destination": "A:", | |
"vagrant_vagrantfile_template": "postprocessors/vagrant-hyperv/Vagrantfile" | |
}, | |
"description": "{{user `description`}}", | |
"builders": [ | |
{ | |
"type": "hyperv-iso", | |
"vm_name": "packer-{{user `author`}}-{{user `name`}}-{{user `version`}}-{{timestamp}}", | |
"iso_url": "{{user `iso_url`}}", | |
"iso_checksum_type": "{{user `iso_checksum_type`}}", | |
"iso_checksum": "{{user `iso_checksum`}}", | |
"ram_size": "{{user `hyperv_ram_size`}}", | |
"enable_dynamic_memory": "{{user `hyperv_enable_dynamic_memory`}}", | |
"cpu": "{{user `hyperv_cpu`}}", | |
"enable_virtualization_extensions": "{{user `hyperv_enable_virtualization_extensions`}}", | |
"disk_size": "{{user `hyperv_disk_size`}}", | |
"floppy_files": "{{user `hyperv_floppy_files`}}", | |
"enable_mac_spoofing": "{{user `hyperv_enable_mac_spoofing`}}", | |
"boot_wait": "{{user `hyperv_boot_wait`}}", | |
"communicator": "{{user `hyperv_communicator`}}", | |
"winrm_username": "{{user `hyperv_winrm_username`}}", | |
"winrm_password": "{{user `hyperv_winrm_password`}}", | |
"winrm_timeout": "{{user `hyperv_winrm_timeout`}}", | |
"guest_additions_mode": "{{user `hyperv_guest_additions_mode`}}", | |
"shutdown_command": "{{user `hyperv_shutdown_command`}}", | |
"output_directory": "{{user `output_directory`}}" | |
} | |
], | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment