|
|
|
|
@ -33,8 +33,7 @@ to self-install. Still, the example serves to show the basic configuration:
|
|
|
|
|
{
|
|
|
|
|
"type": "hyperv-iso",
|
|
|
|
|
"iso_url": "http://releases.ubuntu.com/12.04/ubuntu-12.04.5-server-amd64.iso",
|
|
|
|
|
"iso_checksum": "769474248a3897f4865817446f9a4a53",
|
|
|
|
|
"iso_checksum_type": "md5",
|
|
|
|
|
"iso_checksum": "md5:769474248a3897f4865817446f9a4a53",
|
|
|
|
|
"ssh_username": "packer",
|
|
|
|
|
"ssh_password": "packer",
|
|
|
|
|
"shutdown_command": "echo 'packer' | sudo -S shutdown -P now"
|
|
|
|
|
@ -205,8 +204,7 @@ Packer config:
|
|
|
|
|
"boot_wait": "0s",
|
|
|
|
|
"boot_command": ["a<wait>a<wait>a"],
|
|
|
|
|
"iso_url": "http://download.microsoft.com/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_EVAL_EN-US-IRM_SSS_X64FREE_EN-US_DV5.ISO",
|
|
|
|
|
"iso_checksum_type": "md5",
|
|
|
|
|
"iso_checksum": "458ff91f8abc21b75cb544744bf92e6a",
|
|
|
|
|
"iso_checksum": "md5:458ff91f8abc21b75cb544744bf92e6a",
|
|
|
|
|
"communicator": "winrm",
|
|
|
|
|
"winrm_username": "vagrant",
|
|
|
|
|
"winrm_password": "vagrant",
|
|
|
|
|
@ -727,8 +725,7 @@ virtual switch with an `External` connection type.
|
|
|
|
|
"memory": "1024",
|
|
|
|
|
"disk_size": "21440",
|
|
|
|
|
"iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04.6-server-amd64.iso",
|
|
|
|
|
"iso_checksum_type": "sha1",
|
|
|
|
|
"iso_checksum": "056b7c15efc15bbbf40bf1a9ff1a3531fcbf70a2"
|
|
|
|
|
"iso_checksum": "sha1:056b7c15efc15bbbf40bf1a9ff1a3531fcbf70a2"
|
|
|
|
|
},
|
|
|
|
|
"builders": [
|
|
|
|
|
{
|
|
|
|
|
@ -737,7 +734,6 @@ virtual switch with an `External` connection type.
|
|
|
|
|
"disk_size": "{{user `disk_size`}}",
|
|
|
|
|
"guest_additions_mode": "disable",
|
|
|
|
|
"iso_url": "{{user `iso_url`}}",
|
|
|
|
|
"iso_checksum_type": "{{user `iso_checksum_type`}}",
|
|
|
|
|
"iso_checksum": "{{user `iso_checksum`}}",
|
|
|
|
|
"communicator": "ssh",
|
|
|
|
|
"ssh_username": "packer",
|
|
|
|
|
|