Created
April 20, 2018 13:08
-
-
Save Wenzel/a3b7c0d62526b9ea0cf310111bede44d to your computer and use it in GitHub Desktop.
PACKER_LOG=1 ./packer build windows_7.json
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
2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 Using internal plugin for amazon-chroot | |
2018/04/20 16:00:26 Using internal plugin for file | |
2018/04/20 16:00:26 Using internal plugin for lxc | |
2018/04/20 16:00:26 Using internal plugin for oracle-classic | |
2018/04/20 16:00:26 Using internal plugin for triton | |
2018/04/20 16:00:26 Using internal plugin for cloudstack | |
2018/04/20 16:00:26 Using internal plugin for scaleway | |
2018/04/20 16:00:26 Using internal plugin for alicloud-ecs | |
2018/04/20 16:00:26 Using internal plugin for amazon-ebs | |
2018/04/20 16:00:26 Using internal plugin for azure-arm | |
2018/04/20 16:00:26 Using internal plugin for hyperv-vmcx | |
2018/04/20 16:00:26 Using internal plugin for oracle-oci | |
2018/04/20 16:00:26 Using internal plugin for vmware-iso | |
2018/04/20 16:00:26 Using internal plugin for vmware-vmx | |
2018/04/20 16:00:26 Using internal plugin for amazon-instance | |
2018/04/20 16:00:26 Using internal plugin for docker | |
2018/04/20 16:00:26 Using internal plugin for hyperv-iso | |
2018/04/20 16:00:26 Using internal plugin for ncloud | |
2018/04/20 16:00:26 Using internal plugin for parallels-iso | |
2018/04/20 16:00:26 Using internal plugin for qemu | |
2018/04/20 16:00:26 Using internal plugin for amazon-ebsvolume | |
2018/04/20 16:00:26 Using internal plugin for digitalocean | |
2018/04/20 16:00:26 Using internal plugin for googlecompute | |
2018/04/20 16:00:26 Using internal plugin for oneandone | |
2018/04/20 16:00:26 Using internal plugin for openstack | |
2018/04/20 16:00:26 Using internal plugin for amazon-ebssurrogate | |
2018/04/20 16:00:26 Using internal plugin for lxd | |
2018/04/20 16:00:26 Using internal plugin for null | |
2018/04/20 16:00:26 Using internal plugin for parallels-pvm | |
2018/04/20 16:00:26 Using internal plugin for virtualbox-iso | |
2018/04/20 16:00:26 Using internal plugin for virtualbox-ovf | |
2018/04/20 16:00:26 Using internal plugin for profitbricks | |
2018/04/20 16:00:26 Using internal plugin for puppet-server | |
2018/04/20 16:00:26 Using internal plugin for shell | |
2018/04/20 16:00:26 Using internal plugin for shell-local | |
2018/04/20 16:00:26 Using internal plugin for windows-restart | |
2018/04/20 16:00:26 Using internal plugin for ansible-local | |
2018/04/20 16:00:26 Using internal plugin for converge | |
2018/04/20 16:00:26 Using internal plugin for puppet-masterless | |
2018/04/20 16:00:26 Using internal plugin for salt-masterless | |
2018/04/20 16:00:26 Using internal plugin for windows-shell | |
2018/04/20 16:00:26 Using internal plugin for ansible | |
2018/04/20 16:00:26 Using internal plugin for chef-solo | |
2018/04/20 16:00:26 Using internal plugin for file | |
2018/04/20 16:00:26 Using internal plugin for powershell | |
2018/04/20 16:00:26 Using internal plugin for chef-client | |
2018/04/20 16:00:26 Using internal plugin for docker-tag | |
2018/04/20 16:00:26 Using internal plugin for vagrant | |
2018/04/20 16:00:26 Using internal plugin for vsphere | |
2018/04/20 16:00:26 Using internal plugin for vsphere-template | |
2018/04/20 16:00:26 Using internal plugin for amazon-import | |
2018/04/20 16:00:26 Using internal plugin for docker-save | |
2018/04/20 16:00:26 Using internal plugin for manifest | |
2018/04/20 16:00:26 Using internal plugin for docker-push | |
2018/04/20 16:00:26 Using internal plugin for googlecompute-export | |
2018/04/20 16:00:26 Using internal plugin for vagrant-cloud | |
2018/04/20 16:00:26 Using internal plugin for atlas | |
2018/04/20 16:00:26 Using internal plugin for checksum | |
2018/04/20 16:00:26 Using internal plugin for docker-import | |
2018/04/20 16:00:26 Using internal plugin for shell-local | |
2018/04/20 16:00:26 Using internal plugin for alicloud-import | |
2018/04/20 16:00:26 Using internal plugin for artifice | |
2018/04/20 16:00:26 Using internal plugin for compress | |
2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[cloudstack:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack profitbricks:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks lxc:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc openstack:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebsvolume:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume digitalocean:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean googlecompute:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-chroot:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot vmware-vmx:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx hyperv-iso:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso qemu:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu virtualbox-iso:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso hyperv-vmcx:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx vmware-iso:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso oneandone:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-ebssurrogate:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate alicloud-ecs:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs azure-arm:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker lxd:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd oracle-classic:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic amazon-ebs:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs ncloud:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud oracle-oci:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-instance:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance parallels-iso:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso virtualbox-ovf:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf file:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file triton:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton scaleway:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway parallels-pvm:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm] PostProcessors:map[alicloud-import:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import docker-tag:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag amazon-import:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import checksum:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-import:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import compress:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant googlecompute-export:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export shell-local:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local artifice:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vsphere-template:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template manifest:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant-cloud:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-save:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-push:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push atlas:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas] Provisioners:map[salt-masterless:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless file:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file converge:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge ansible:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible-local:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-shell:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell puppet-server:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server windows-restart:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-masterless:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless chef-solo:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo powershell:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell chef-client:/home/tarrma/fsecure/packer-flare/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]} | |
2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 Loading builder: qemu | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-builder-qemu"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-builder-qemu"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin726469763 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: windows-shell | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-windows-shell"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-windows-shell"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin857764429 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: powershell | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-powershell"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-powershell"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin622949071 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: powershell | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-powershell"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-powershell"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin008234286 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: powershell | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-powershell"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-powershell"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin355373184 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: powershell | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-powershell"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-powershell"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin284993992 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: windows-shell | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-windows-shell"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-windows-shell"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin443039381 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 Loading provisioner: windows-restart | |
2018/04/20 16:00:26 Plugin could not be found. Checking same directory as executable. | |
2018/04/20 16:00:26 Current exe path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Creating plugin client for path: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 Starting plugin: /home/tarrma/fsecure/packer-flare/packer []string{"/home/tarrma/fsecure/packer-flare/packer", "plugin", "packer-provisioner-windows-restart"} | |
2018/04/20 16:00:26 Waiting for RPC address for: /home/tarrma/fsecure/packer-flare/packer | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [INFO] Packer version: 1.2.2 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer Target OS/Arch: linux amd64 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Built with Go Version: go1.10 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Setting cache directory: /home/tarrma/fsecure/packer-flare/packer_cache | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Detected home directory from env var: /home/tarrma | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 args: []string{"packer-provisioner-windows-restart"} | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin minimum port: 10000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin maximum port: 25000 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Plugin address: unix /tmp/packer-plugin495729326 | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Waiting for connection... | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Serving a plugin connection... | |
2018/04/20 16:00:26 ui: qemu output will be in this color. | |
2018/04/20 16:00:26 ui: | |
2018/04/20 16:00:26 Build debug mode: false | |
2018/04/20 16:00:26 Force build: false | |
2018/04/20 16:00:26 On error: | |
2018/04/20 16:00:26 Preparing build: qemu | |
qemu output will be in this color. | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 use specified accelerator: kvm | |
2018/04/20 16:00:26 Waiting on builds to complete... | |
2018/04/20 16:00:26 Starting build run: qemu | |
2018/04/20 16:00:26 Running builder: qemu | |
2018/04/20 16:00:26 [INFO] (telemetry) Starting builder qemu | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Qemu path: /usr/local/bin/qemu-system-x86_64, Qemu Image page: /usr/local/bin/qemu-img | |
2018/04/20 16:00:26 ui: ==> qemu: Downloading or copying ISO | |
==> qemu: Downloading or copying ISO | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Acquiring lock to download: http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso | |
2018/04/20 16:00:26 packer: 2018/04/20 16:00:26 Verifying checksum of /home/tarrma/fsecure/packer-flare/packer_cache/2b74e82a7abe5592aac026c1d0d5da01dd5a8dfad148b31b32203d23739da902.iso | |
qemu: Found already downloaded, initial checksum matched, no download needed: http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso | |
2018/04/20 16:00:37 ui: qemu: Found already downloaded, initial checksum matched, no download needed: http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso | |
==> qemu: Creating floppy disk... | |
2018/04/20 16:00:37 ui: ==> qemu: Creating floppy disk... | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Floppy path: /tmp/packer528809478 | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Initializing block device backed by temporary file | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Formatting the block device with a FAT filesystem... | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Initializing FAT filesystem on block device | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Reading the root directory from the filesystem | |
2018/04/20 16:00:37 ui: qemu: Copying files flatly from floppy_files | |
qemu: Copying files flatly from floppy_files | |
qemu: Copying file: ./answer_files/7/Autounattend.xml | |
2018/04/20 16:00:37 ui: qemu: Copying file: ./answer_files/7/Autounattend.xml | |
qemu: Copying file: scripts/setup_winrm.bat | |
2018/04/20 16:00:37 ui: qemu: Copying file: scripts/setup_winrm.bat | |
2018/04/20 16:00:37 ui: qemu: Done copying files from floppy_files | |
qemu: Done copying files from floppy_files | |
qemu: Collecting paths from floppy_dirs | |
2018/04/20 16:00:37 ui: qemu: Collecting paths from floppy_dirs | |
qemu: Resulting paths from floppy_dirs : [] | |
2018/04/20 16:00:37 ui: qemu: Resulting paths from floppy_dirs : [] | |
qemu: Done copying paths from floppy_dirs | |
2018/04/20 16:00:37 ui: qemu: Done copying paths from floppy_dirs | |
==> qemu: Creating hard drive... | |
2018/04/20 16:00:37 ui: ==> qemu: Creating hard drive... | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Executing qemu-img: []string{"create", "-f", "qcow2", "output-qemu/Windows_7_x64", "60000M"} | |
==> qemu: Found port for communicator (SSH, WinRM, etc): 3981. | |
2018/04/20 16:00:37 ui: ==> qemu: Found port for communicator (SSH, WinRM, etc): 3981. | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 stdout: Formatting 'output-qemu/Windows_7_x64', fmt=qcow2 size=62914560000 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 stderr: | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444 | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Trying port: 3981 | |
==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1 | |
2018/04/20 16:00:37 ui: ==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1 | |
==> qemu: Starting VM, booting from CD-ROM | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Looking for available port between 5900 and 6000 on 127.0.0.1 | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Trying port: 5983 | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Found available VNC port: 5983 on IP: 127.0.0.1 | |
2018/04/20 16:00:37 ui: ==> qemu: Starting VM, booting from CD-ROM | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Qemu --version output: QEMU emulator version 2.8.0 | |
2018/04/20 16:00:37 packer: Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Qemu version: 2.8.0 | |
2018/04/20 16:00:37 ui: qemu: The VM will be run headless, without a GUI. If you want to | |
qemu: view the screen of the VM, connect via VNC without a password to | |
qemu: vnc://127.0.0.1:5983 | |
qemu: The VM will be run headless, without a GUI. If you want to | |
qemu: view the screen of the VM, connect via VNC without a password to | |
qemu: vnc://127.0.0.1:5983 | |
2018/04/20 16:00:37 ui: ==> qemu: Overriding defaults Qemu arguments with QemuArgs... | |
==> qemu: Overriding defaults Qemu arguments with QemuArgs... | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Executing /usr/local/bin/qemu-system-x86_64: []string{"-drive", "file=output-qemu/Windows_7_x64,if=ide,cache=writeback,discard=ignore,format=qcow2", "-vnc", "127.0.0.1:83", "-machine", "type=pc,accel=kvm", "-smp", "2", "-fda", "/tmp/packer528809478", "-netdev", "user,id=user.0,hostfwd=tcp::3981-:5985", "-device", "e1000,netdev=user.0", "-m", "4096", "-name", "Windows_7_x64", "-cdrom", "/home/tarrma/fsecure/packer-flare/packer_cache/2b74e82a7abe5592aac026c1d0d5da01dd5a8dfad148b31b32203d23739da902.iso", "-boot", "once=d"} | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Started Qemu. Pid: 1728 | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Qemu stderr: WARNING: Image format was not specified for '/tmp/packer528809478' and probing guessed raw. | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Qemu stderr: Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. | |
2018/04/20 16:00:37 packer: 2018/04/20 16:00:37 Qemu stderr: Specify the 'raw' format explicitly to remove the restrictions. | |
2018/04/20 16:00:39 ui: ==> qemu: Waiting 10s for boot... | |
==> qemu: Waiting 10s for boot... | |
2018/04/20 16:00:49 ui: ==> qemu: Connecting to VM via VNC | |
==> qemu: Connecting to VM via VNC | |
2018/04/20 16:00:49 packer: 2018/04/20 16:00:49 Connected to VNC desktop: QEMU (Windows_7_x64) | |
2018/04/20 16:00:49 ui: ==> qemu: Typing the boot command over VNC... | |
==> qemu: Typing the boot command over VNC... | |
==> qemu: Waiting for WinRM to become available... | |
2018/04/20 16:00:49 packer: 2018/04/20 16:00:49 Waiting for WinRM, up to timeout: 4h0m0s | |
2018/04/20 16:00:49 ui: ==> qemu: Waiting for WinRM to become available... | |
2018/04/20 16:00:54 packer: 2018/04/20 16:00:54 [INFO] Attempting WinRM connection... | |
2018/04/20 16:00:54 packer: 2018/04/20 16:00:54 [DEBUG] connecting to remote shell using WinRM | |
2018/04/20 16:02:10 packer: 2018/04/20 16:02:10 [ERROR] connection error: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55766->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:02:10 packer: 2018/04/20 16:02:10 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55766->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:02:15 packer: 2018/04/20 16:02:15 [INFO] Attempting WinRM connection... | |
2018/04/20 16:02:15 packer: 2018/04/20 16:02:15 [DEBUG] connecting to remote shell using WinRM | |
2018/04/20 16:03:30 packer: 2018/04/20 16:03:30 [ERROR] connection error: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55818->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:03:30 packer: 2018/04/20 16:03:30 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55818->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:03:35 packer: 2018/04/20 16:03:35 [INFO] Attempting WinRM connection... | |
2018/04/20 16:03:35 packer: 2018/04/20 16:03:35 [DEBUG] connecting to remote shell using WinRM | |
2018/04/20 16:04:50 packer: 2018/04/20 16:04:50 [ERROR] connection error: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55844->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:04:50 packer: 2018/04/20 16:04:50 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55844->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:04:55 packer: 2018/04/20 16:04:55 [INFO] Attempting WinRM connection... | |
2018/04/20 16:04:55 packer: 2018/04/20 16:04:55 [DEBUG] connecting to remote shell using WinRM | |
2018/04/20 16:05:38 packer: 2018/04/20 16:05:38 [ERROR] connection error: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55866->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:05:38 packer: 2018/04/20 16:05:38 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3981/wsman: read tcp 127.0.0.1:55866->127.0.0.1:3981: read: connection reset by peer | |
2018/04/20 16:05:43 packer: 2018/04/20 16:05:43 [INFO] Attempting WinRM connection... | |
2018/04/20 16:05:43 packer: 2018/04/20 16:05:43 [DEBUG] connecting to remote shell using WinRM | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 Checking that WinRM is connected with: 'powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA' | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 [INFO] starting remote command: powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 [INFO] command 'powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA' exited with code: 0 | |
2018/04/20 16:06:06 ui: qemu: WinRM connected. | |
qemu: WinRM connected. | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 Connected to machine | |
2018/04/20 16:06:06 ui: ==> qemu: Connected to WinRM! | |
==> qemu: Connected to WinRM! | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 Running the provision hook | |
2018/04/20 16:06:06 [INFO] (telemetry) Starting provisioner windows-shell | |
2018/04/20 16:06:06 ui: ==> qemu: Provisioning with windows-shell... | |
==> qemu: Provisioning with windows-shell... | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 Found command: reg ADD HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 1 /f | |
2018/04/20 16:06:06 ui: ==> qemu: Provisioning with shell script: /tmp/packer-windows-shell-provisioner501344072 | |
==> qemu: Provisioning with shell script: /tmp/packer-windows-shell-provisioner501344072 | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 Opening /tmp/packer-windows-shell-provisioner501344072 for reading | |
2018/04/20 16:06:06 packer: 2018/04/20 16:06:06 [INFO] 103 bytes written for 'uploadData' | |
2018/04/20 16:06:06 [INFO] 103 bytes written for 'uploadData' | |
2018/04/20 16:06:07 packer: 2018/04/20 16:06:07 Uploading file to 'c:/Windows/Temp/script.bat' | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] starting remote command: set "PACKER_BUILDER_TYPE=qemu" && set "PACKER_BUILD_NAME=qemu" && "c:/Windows/Temp/script.bat" | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] command 'set "PACKER_BUILDER_TYPE=qemu" && set "PACKER_BUILD_NAME=qemu" && "c:/Windows/Temp/script.bat"' exited with code: 0 | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:08 ui: qemu: | |
qemu: | |
2018/04/20 16:06:08 ui: qemu: C:\Users\vagrant>reg ADD HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 1 /f | |
qemu: C:\Users\vagrant>reg ADD HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 1 /f | |
qemu: The operation completed successfully. | |
2018/04/20 16:06:08 ui: qemu: The operation completed successfully. | |
2018/04/20 16:06:08 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:08 [INFO] 164 bytes written for 'stdout' | |
2018/04/20 16:06:08 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:08 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] 164 bytes written for 'stdout' | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:08 [INFO] (telemetry) ending windows-shell | |
2018/04/20 16:06:08 [INFO] (telemetry) Starting provisioner powershell | |
2018/04/20 16:06:08 ui: ==> qemu: Provisioning with Powershell... | |
==> qemu: Provisioning with Powershell... | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 Found command: New-Item -Path C:\temp -ItemType directory | |
2018/04/20 16:06:08 ui: ==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner376407010 | |
==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner376407010 | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 Opening /tmp/packer-powershell-provisioner376407010 for reading | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 Uploading env vars to ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5c0-72df-8b55-a3e4-1a695ab91e11.ps1 | |
2018/04/20 16:06:08 packer: 2018/04/20 16:06:08 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:08 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:10 packer: 2018/04/20 16:06:10 Uploading file to '${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5c0-72df-8b55-a3e4-1a695ab91e11.ps1' | |
2018/04/20 16:06:12 packer: 2018/04/20 16:06:12 [INFO] 43 bytes written for 'uploadData' | |
2018/04/20 16:06:12 [INFO] 43 bytes written for 'uploadData' | |
2018/04/20 16:06:21 packer: 2018/04/20 16:06:21 Uploading file to 'c:/Windows/Temp/script-5ad9e46a-22b1-1431-9d10-3b12f7ce8a6f.ps1' | |
2018/04/20 16:06:22 packer: 2018/04/20 16:06:22 [INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5c0-72df-8b55-a3e4-1a695ab91e11.ps1; &'c:/Windows/Temp/script-5ad9e46a-22b1-1431-9d10-3b12f7ce8a6f.ps1';exit $LastExitCode }" | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5c0-72df-8b55-a3e4-1a695ab91e11.ps1; &'c:/Windows/Temp/script-5ad9e46a-22b1-1431-9d10-3b12f7ce8a6f.ps1';exit $LastExitCode }"' exited with code: 0 | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 [INFO] RPC endpoint: Communicator ended with: 0 | |
qemu: | |
2018/04/20 16:06:23 ui: qemu: | |
2018/04/20 16:06:23 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:23 [INFO] 274 bytes written for 'stdout' | |
2018/04/20 16:06:23 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:23 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 [INFO] 274 bytes written for 'stdout' | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 [INFO] RPC client: Communicator ended with: 0 | |
qemu: | |
2018/04/20 16:06:23 ui: qemu: | |
2018/04/20 16:06:23 ui: qemu: Directory: C:\ | |
qemu: Directory: C:\ | |
2018/04/20 16:06:23 ui: qemu: | |
qemu: | |
qemu: | |
2018/04/20 16:06:23 ui: qemu: | |
2018/04/20 16:06:23 ui: qemu: Mode LastWriteTime Length Name | |
qemu: Mode LastWriteTime Length Name | |
2018/04/20 16:06:23 ui: qemu: ---- ------------- ------ ---- | |
qemu: ---- ------------- ------ ---- | |
2018/04/20 16:06:23 ui: qemu: d---- 4/20/2018 1:06 PM temp | |
qemu: d---- 4/20/2018 1:06 PM temp | |
2018/04/20 16:06:23 [INFO] (telemetry) ending powershell | |
2018/04/20 16:06:23 [INFO] (telemetry) Starting provisioner powershell | |
==> qemu: Provisioning with Powershell... | |
2018/04/20 16:06:23 ui: ==> qemu: Provisioning with Powershell... | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 Found command: (new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/fireeye/flare-vm/master/install.ps1' | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 Found command: 'C:\Temp\install.ps1') | |
==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner948166837 | |
2018/04/20 16:06:23 ui: ==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner948166837 | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 Opening /tmp/packer-powershell-provisioner948166837 for reading | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 Uploading env vars to ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5cf-7738-ec52-b8a0-931bec896016.ps1 | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:23 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:23 packer: 2018/04/20 16:06:23 Uploading file to '${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5cf-7738-ec52-b8a0-931bec896016.ps1' | |
2018/04/20 16:06:24 packer: 2018/04/20 16:06:24 [INFO] 136 bytes written for 'uploadData' | |
2018/04/20 16:06:24 [INFO] 136 bytes written for 'uploadData' | |
2018/04/20 16:06:25 packer: 2018/04/20 16:06:25 Uploading file to 'c:/Windows/Temp/script-5ad9e46a-e7b1-af2b-4108-61904b0271d2.ps1' | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5cf-7738-ec52-b8a0-931bec896016.ps1; &'c:/Windows/Temp/script-5ad9e46a-e7b1-af2b-4108-61904b0271d2.ps1';exit $LastExitCode }" | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5cf-7738-ec52-b8a0-931bec896016.ps1; &'c:/Windows/Temp/script-5ad9e46a-e7b1-af2b-4108-61904b0271d2.ps1';exit $LastExitCode }"' exited with code: 0 | |
2018/04/20 16:06:26 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:26 [INFO] 305 bytes written for 'stderr' | |
2018/04/20 16:06:26 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:26 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] 305 bytes written for 'stderr' | |
2018/04/20 16:06:26 ui: qemu: Missing ')' in method call. | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] RPC client: Communicator ended with: 0 | |
qemu: Missing ')' in method call. | |
2018/04/20 16:06:26 ui: qemu: At C:\Windows\Temp\script-5ad9e46a-e7b1-af2b-4108-61904b0271d2.ps1:2 char:2 | |
qemu: At C:\Windows\Temp\script-5ad9e46a-e7b1-af2b-4108-61904b0271d2.ps1:2 char:2 | |
2018/04/20 16:06:26 ui: qemu: + <<<< 'C:\Temp\install.ps1') | |
qemu: + <<<< 'C:\Temp\install.ps1') | |
2018/04/20 16:06:26 ui: qemu: + CategoryInfo : ParserError: (CloseParenToken:TokenId) [], Parse | |
qemu: + CategoryInfo : ParserError: (CloseParenToken:TokenId) [], Parse | |
2018/04/20 16:06:26 ui: qemu: Exception | |
qemu: Exception | |
2018/04/20 16:06:26 ui: qemu: + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall | |
qemu: + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall | |
2018/04/20 16:06:26 ui: qemu: | |
qemu: | |
2018/04/20 16:06:26 [INFO] (telemetry) ending powershell | |
2018/04/20 16:06:26 [INFO] (telemetry) Starting provisioner powershell | |
2018/04/20 16:06:26 ui: ==> qemu: Provisioning with Powershell... | |
==> qemu: Provisioning with Powershell... | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 Found command: powershell.exe -ExecutionPolicy Unrestricted -File C:\Temp\install.ps1 | |
2018/04/20 16:06:26 ui: ==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner192160223 | |
==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner192160223 | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 Opening /tmp/packer-powershell-provisioner192160223 for reading | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 Uploading env vars to ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d2-c60a-d0c7-b860-8b344ad1ef85.ps1 | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:26 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:26 packer: 2018/04/20 16:06:26 Uploading file to '${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d2-c60a-d0c7-b860-8b344ad1ef85.ps1' | |
2018/04/20 16:06:27 packer: 2018/04/20 16:06:27 [INFO] 71 bytes written for 'uploadData' | |
2018/04/20 16:06:27 [INFO] 71 bytes written for 'uploadData' | |
2018/04/20 16:06:28 packer: 2018/04/20 16:06:28 Uploading file to 'c:/Windows/Temp/script-5ad9e46a-db31-1989-86e2-d9596372308c.ps1' | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d2-c60a-d0c7-b860-8b344ad1ef85.ps1; &'c:/Windows/Temp/script-5ad9e46a-db31-1989-86e2-d9596372308c.ps1';exit $LastExitCode }" | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d2-c60a-d0c7-b860-8b344ad1ef85.ps1; &'c:/Windows/Temp/script-5ad9e46a-db31-1989-86e2-d9596372308c.ps1';exit $LastExitCode }"' exited with code: 0 | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:29 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:29 [INFO] 161 bytes written for 'stderr' | |
2018/04/20 16:06:29 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:29 ui: qemu: The argument 'C:\Temp\install.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter. | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] 161 bytes written for 'stderr' | |
qemu: The argument 'C:\Temp\install.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter. | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:29 [INFO] (telemetry) ending powershell | |
2018/04/20 16:06:29 [INFO] (telemetry) Starting provisioner powershell | |
2018/04/20 16:06:29 ui: ==> qemu: Provisioning with Powershell... | |
==> qemu: Provisioning with Powershell... | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 Found command: Remove-Item -Recurse C:\Temp | |
2018/04/20 16:06:29 ui: ==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner335095431 | |
==> qemu: Provisioning with powershell script: /tmp/packer-powershell-provisioner335095431 | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 Opening /tmp/packer-powershell-provisioner335095431 for reading | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 Uploading env vars to ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d5-307e-ec9c-d476-830d75dae165.ps1 | |
2018/04/20 16:06:29 packer: 2018/04/20 16:06:29 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:29 [INFO] 64 bytes written for 'uploadData' | |
2018/04/20 16:06:30 packer: 2018/04/20 16:06:30 Uploading file to '${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d5-307e-ec9c-d476-830d75dae165.ps1' | |
2018/04/20 16:06:30 packer: 2018/04/20 16:06:30 [INFO] 29 bytes written for 'uploadData' | |
2018/04/20 16:06:30 [INFO] 29 bytes written for 'uploadData' | |
2018/04/20 16:06:31 packer: 2018/04/20 16:06:31 Uploading file to 'c:/Windows/Temp/script-5ad9e46a-f7a0-3230-b630-8de5bff39058.ps1' | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d5-307e-ec9c-d476-830d75dae165.ps1; &'c:/Windows/Temp/script-5ad9e46a-f7a0-3230-b630-8de5bff39058.ps1';exit $LastExitCode }" | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){$ProgressPreference='SilentlyContinue'};. ${env:SYSTEMROOT}/Temp/packer-env-vars-5ad9e5d5-307e-ec9c-d476-830d75dae165.ps1; &'c:/Windows/Temp/script-5ad9e46a-f7a0-3230-b630-8de5bff39058.ps1';exit $LastExitCode }"' exited with code: 0 | |
2018/04/20 16:06:32 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:32 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:32 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:32 [INFO] (telemetry) ending powershell | |
2018/04/20 16:06:32 [INFO] (telemetry) Starting provisioner windows-shell | |
2018/04/20 16:06:32 ui: ==> qemu: Provisioning with windows-shell... | |
==> qemu: Provisioning with windows-shell... | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 Found command: reg ADD HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f | |
2018/04/20 16:06:32 ui: ==> qemu: Provisioning with shell script: /tmp/packer-windows-shell-provisioner959872752 | |
==> qemu: Provisioning with shell script: /tmp/packer-windows-shell-provisioner959872752 | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 Opening /tmp/packer-windows-shell-provisioner959872752 for reading | |
2018/04/20 16:06:32 packer: 2018/04/20 16:06:32 [INFO] 103 bytes written for 'uploadData' | |
2018/04/20 16:06:32 [INFO] 103 bytes written for 'uploadData' | |
2018/04/20 16:06:33 packer: 2018/04/20 16:06:33 Uploading file to 'c:/Windows/Temp/script.bat' | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] starting remote command: set "PACKER_BUILDER_TYPE=qemu" && set "PACKER_BUILD_NAME=qemu" && "c:/Windows/Temp/script.bat" | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] command 'set "PACKER_BUILDER_TYPE=qemu" && set "PACKER_BUILD_NAME=qemu" && "c:/Windows/Temp/script.bat"' exited with code: 0 | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:34 [INFO] 164 bytes written for 'stdout' | |
2018/04/20 16:06:34 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:34 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:34 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] 164 bytes written for 'stdout' | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:34 ui: qemu: | |
qemu: | |
2018/04/20 16:06:34 ui: qemu: C:\Users\vagrant>reg ADD HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f | |
qemu: C:\Users\vagrant>reg ADD HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f | |
2018/04/20 16:06:34 ui: qemu: The operation completed successfully. | |
qemu: The operation completed successfully. | |
2018/04/20 16:06:34 [INFO] (telemetry) ending windows-shell | |
2018/04/20 16:06:34 [INFO] (telemetry) Starting provisioner windows-restart | |
2018/04/20 16:06:34 ui: ==> qemu: Restarting Machine | |
==> qemu: Restarting Machine | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] starting remote command: shutdown /r /f /t 0 /c "packer restart" | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] command 'shutdown /r /f /t 0 /c "packer restart"' exited with code: 0 | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:34 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:34 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:34 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:34 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:06:34 packer: 2018/04/20 16:06:34 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:06:34 ui: ==> qemu: Waiting for machine to restart... | |
==> qemu: Waiting for machine to restart... | |
2018/04/20 16:06:35 packer: 2018/04/20 16:06:35 Check if machine is rebooting... | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] starting remote command: shutdown.exe -f -r -t 60 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] command 'shutdown.exe -f -r -t 60' exited with code: 0 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:07:10 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:07:10 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:07:10 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:07:10 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] starting remote command: shutdown.exe -a | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] command 'shutdown.exe -a' exited with code: 0 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:07:10 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:07:10 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:07:10 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:07:10 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] 0 bytes written for 'stdout' | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 Waiting for machine to reboot with timeout: 15m0s | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 Waiting for machine to become available... | |
2018/04/20 16:07:10 packer: 2018/04/20 16:07:10 Checking that communicator is connected with: 'powershell.exe -EncodedCommand ZQBjAGgAbwAgACIAJAB7AGUAbgB2ADoAQwBPAE0AUABVAFQARQBSAE4AQQBNAEUAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgA=' | |
2018/04/20 16:07:15 packer: 2018/04/20 16:07:15 [INFO] starting remote command: powershell.exe -EncodedCommand ZQBjAGgAbwAgACIAJAB7AGUAbgB2ADoAQwBPAE0AUABVAFQARQBSAE4AQQBNAEUAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgA= | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] command 'powershell.exe -EncodedCommand ZQBjAGgAbwAgACIAJAB7AGUAbgB2ADoAQwBPAE0AUABVAFQARQBSAE4AQQBNAEUAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgA=' exited with code: 0 | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/20 16:07:16 [INFO] 25 bytes written for 'stdout' | |
2018/04/20 16:07:16 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:07:16 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:07:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
qemu: VAGRANT-7 restarted. | |
2018/04/20 16:07:16 ui: qemu: VAGRANT-7 restarted. | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] 25 bytes written for 'stdout' | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] 0 bytes written for 'stderr' | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/20 16:07:16 ui: ==> qemu: Machine successfully restarted, moving on | |
==> qemu: Machine successfully restarted, moving on | |
2018/04/20 16:07:16 [INFO] (telemetry) ending windows-restart | |
2018/04/20 16:07:16 ui: ==> qemu: Gracefully halting virtual machine... | |
==> qemu: Gracefully halting virtual machine... | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 Executing shutdown command: shutdown /s /t 60 /f /d p:4:1 /c "Packer Shutdown" | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] starting remote command: shutdown /s /t 60 /f /d p:4:1 /c "Packer Shutdown" | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 [INFO] command 'shutdown /s /t 60 /f /d p:4:1 /c "Packer Shutdown"' exited with code: 0 | |
2018/04/20 16:07:16 packer: 2018/04/20 16:07:16 Waiting max 10m0s for shutdown to complete | |
2018/04/20 16:08:20 packer: 2018/04/20 16:08:20 VM shut down. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment