Skip to content

Instantly share code, notes, and snippets.

@lorengordon
Last active April 26, 2016 11:58
Show Gist options
  • Save lorengordon/53621dfb697bfc81255706fbc5eabc7e to your computer and use it in GitHub Desktop.
Save lorengordon/53621dfb697bfc81255706fbc5eabc7e to your computer and use it in GitHub Desktop.
packer-download-file-create-directory
{
"builders": [
{
"type": "amazon-ebs",
"ami_name": "packer-download-file",
"communicator": "ssh",
"instance_type": "t2.micro",
"region": "us-east-1",
"source_ami": "ami-1c221e76",
"ssh_username": "centos",
"ssh_port": 22,
"ssh_pty": true,
"ssh_timeout": "10m"
}
],
"provisioners": [
{
"type": "shell",
"execute_command": "{{ .Vars }} sudo -E /bin/sh -ex '{{ .Path }}'",
"inline": [
"rpm -qa | sort -u > /tmp/manifest.log"
]
},
{
"type": "file",
"source": "/tmp/manifest.log",
"destination": ".manifests/{{ build_name }}.manifest",
"direction": "download"
}
]
}
packer : 2016/04/26 07:44:54 [INFO] Packer version: 0.10.0 0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
At line:1 char:1
+ packer build .\packer-download-file.json *> packer-download-file.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2016/04/26 07:4...82eb5add16bf6bb:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
2016/04/26 07:44:54 Packer Target OS/Arch: windows amd64
2016/04/26 07:44:54 Built with Go Version: go1.6
2016/04/26 07:44:54 Using internal plugin for amazon-instance
2016/04/26 07:44:54 Using internal plugin for azure-arm
2016/04/26 07:44:54 Using internal plugin for docker
2016/04/26 07:44:54 Using internal plugin for googlecompute
2016/04/26 07:44:54 Using internal plugin for null
2016/04/26 07:44:54 Using internal plugin for openstack
2016/04/26 07:44:54 Using internal plugin for qemu
2016/04/26 07:44:54 Using internal plugin for amazon-ebs
2016/04/26 07:44:54 Using internal plugin for digitalocean
2016/04/26 07:44:54 Using internal plugin for parallels-iso
2016/04/26 07:44:54 Using internal plugin for virtualbox-iso
2016/04/26 07:44:54 Using internal plugin for virtualbox-ovf
2016/04/26 07:44:54 Using internal plugin for vmware-vmx
2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 Using internal plugin for vmware-iso
2016/04/26 07:44:54 Using internal plugin for amazon-chroot
2016/04/26 07:44:54 Using internal plugin for parallels-pvm
2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 Using internal plugin for powershell
2016/04/26 07:44:54 Using internal plugin for puppet-masterless
2016/04/26 07:44:54 Using internal plugin for salt-masterless
2016/04/26 07:44:54 Using internal plugin for shell
2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 Using internal plugin for ansible
2016/04/26 07:44:54 Using internal plugin for ansible-local
2016/04/26 07:44:54 Using internal plugin for chef-client
2016/04/26 07:44:54 Using internal plugin for chef-solo
2016/04/26 07:44:54 Using internal plugin for puppet-server
2016/04/26 07:44:54 Using internal plugin for windows-restart
2016/04/26 07:44:54 Using internal plugin for windows-shell
2016/04/26 07:44:54 Using internal plugin for artifice
2016/04/26 07:44:54 Using internal plugin for atlas
2016/04/26 07:44:54 Using internal plugin for docker-import
2016/04/26 07:44:54 Using internal plugin for docker-save
2016/04/26 07:44:54 Using internal plugin for docker-tag
2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 Using internal plugin for amazon-import
2016/04/26 07:44:54 Using internal plugin for docker-push
2016/04/26 07:44:54 Using internal plugin for vagrant
2016/04/26 07:44:54 Using internal plugin for vagrant-cloud
2016/04/26 07:44:54 Using internal plugin for vsphere
2016/04/26 07:44:54 Using internal plugin for compress
2016/04/26 07:44:54 Attempting to open config file: C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 [WARN] Config file doesn't exist: C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000
PluginMaxPort:25000
Builders:map[qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm] PostProcessors:map[am
azon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKER
SPACE-packer-post-processor-docker-tag
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map
[windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart]}
2016/04/26 07:44:54 Setting cache directory: C:\Users\xxxxxx\Documents\GitHub\packer_cache
2016/04/26 07:44:54 Loading builder: amazon-ebs
2016/04/26 07:44:54 Plugin could not be found. Checking same directory as executable.
2016/04/26 07:44:54 Current exe path: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 Creating plugin client for path: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 Starting plugin: C:\Hashicorp\Packer\packer.exe []string{"C:\\Hashicorp\\Packer\\packer.exe",
"plugin", "packer-builder-amazon-ebs"}
2016/04/26 07:44:54 Waiting for RPC address for: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 [INFO] Packer version: 0.10.0
0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Packer Target OS/Arch: windows amd64
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Built with Go Version: go1.6
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for azure-arm
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for googlecompute
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for openstack
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for qemu
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-chroot
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vmware-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for digitalocean
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vmware-vmx
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-ebs
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for null
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for parallels-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for parallels-pvm
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for virtualbox-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for virtualbox-ovf
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-instance
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for puppet-server
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for windows-restart
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for windows-shell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for ansible-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for puppet-masterless
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for chef-solo
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for powershell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for salt-masterless
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for ansible
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for chef-client
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-import
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-import
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-push
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vsphere
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vagrant
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vagrant-cloud
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for artifice
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for atlas
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for compress
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-save
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-tag
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Attempting to open config file:
C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 [WARN] Config file doesn't exist:
C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Packer config: &{DisableCheckpoint:false
DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-instance:C:\Hashicorp\Pack
er\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf] PostProcess
ors:map[compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plu
gin-PACKERSPACE-packer-post-processor-docker-save
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant]
Provisioners:map[chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provision
er-windows-shell
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]}
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Setting cache directory:
C:\Users\xxxxxx\Documents\GitHub\packer_cache
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 args: []string{"packer-builder-amazon-ebs"}
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin minimum port: 10000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin maximum port: 25000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin address: tcp 127.0.0.1:10000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Waiting for connection...
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Serving a plugin connection...
2016/04/26 07:44:54 Loading provisioner: shell
2016/04/26 07:44:54 Plugin could not be found. Checking same directory as executable.
2016/04/26 07:44:54 Current exe path: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 Creating plugin client for path: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 Starting plugin: C:\Hashicorp\Packer\packer.exe []string{"C:\\Hashicorp\\Packer\\packer.exe",
"plugin", "packer-provisioner-shell"}
2016/04/26 07:44:54 Waiting for RPC address for: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 [INFO] Packer version: 0.10.0
0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Packer Target OS/Arch: windows amd64
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Built with Go Version: go1.6
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-ebs
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for parallels-pvm
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for qemu
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for virtualbox-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vmware-vmx
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for parallels-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for null
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for openstack
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-chroot
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-instance
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for azure-arm
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for digitalocean
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for googlecompute
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for virtualbox-ovf
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vmware-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for powershell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for puppet-masterless
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for puppet-server
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for ansible
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for ansible-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for windows-shell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for salt-masterless
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for windows-restart
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for chef-client
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for chef-solo
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-import
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-save
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vagrant
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vagrant-cloud
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-import
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for artifice
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for atlas
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vsphere
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for compress
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-push
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-tag
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Attempting to open config file:
C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 [WARN] Config file doesn't exist:
C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Packer config: &{DisableCheckpoint:false
DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000
Builders:map[vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso]
PostProcessors:map[vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plu
gin-PACKERSPACE-packer-post-processor-vagrant-cloud
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map
[windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provi
sioner-ansible
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Setting cache directory:
C:\Users\xxxxxx\Documents\GitHub\packer_cache
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 args: []string{"packer-provisioner-shell"}
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin minimum port: 10000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin maximum port: 25000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin address: tcp 127.0.0.1:10000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Waiting for connection...
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Serving a plugin connection...
2016/04/26 07:44:54 Loading provisioner: file
2016/04/26 07:44:54 Plugin could not be found. Checking same directory as executable.
2016/04/26 07:44:54 Current exe path: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 Creating plugin client for path: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 Starting plugin: C:\Hashicorp\Packer\packer.exe []string{"C:\\Hashicorp\\Packer\\packer.exe",
"plugin", "packer-provisioner-file"}
2016/04/26 07:44:54 Waiting for RPC address for: C:\Hashicorp\Packer\packer.exe
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 [INFO] Packer version: 0.10.0
0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Packer Target OS/Arch: windows amd64
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Built with Go Version: go1.6
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-instance
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for openstack
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for parallels-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for qemu
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for azure-arm
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for virtualbox-ovf
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vmware-vmx
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vmware-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-chroot
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for digitalocean
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for googlecompute
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for virtualbox-iso
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-ebs
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for null
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for parallels-pvm
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for ansible
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for powershell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for windows-restart
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for ansible-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for chef-client
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for chef-solo
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for file
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for puppet-masterless
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for puppet-server
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for salt-masterless
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for windows-shell
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for amazon-import
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for atlas
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-import
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-tag
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for shell-local
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vagrant
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vsphere
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for artifice
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for compress
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-push
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for docker-save
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Using internal plugin for vagrant-cloud
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Attempting to open config file:
C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 [WARN] Config file doesn't exist:
C:\Users\xxxxxx\AppData\Roaming\packer.config
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Packer config: &{DisableCheckpoint:false
DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000
Builders:map[docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs] PostProcessors:map[
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPA
CE-plugin-PACKERSPACE-packer-post-processor-docker-save
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress
amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas] Provisioners:map[salt-
masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-pa
cker-provisioner-windows-shell
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Setting cache directory:
C:\Users\xxxxxx\Documents\GitHub\packer_cache
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 args: []string{"packer-provisioner-file"}
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin minimum port: 10000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin maximum port: 25000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Plugin address: tcp 127.0.0.1:10000
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Waiting for connection...
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Serving a plugin connection...
2016/04/26 07:44:54 ui: amazon-ebs output will be in this color.
2016/04/26 07:44:54 ui:
2016/04/26 07:44:54 Build debug mode: false
2016/04/26 07:44:54 Force build: false
2016/04/26 07:44:54 Preparing build: amazon-ebs
amazon-ebs output will be in this color.
2016/04/26 07:44:54 packer.exe: 2016/04/26 07:44:54 Config: {PackerConfig:{PackerBuildName:amazon-ebs
PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[]} AccessConfig:{AccessKey:
SecretKey: RawRegion:us-east-1 Token: ProfileName:} AMIConfig:{AMIName:packer-download-file AMIDescription:
AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMITags:map[] AMIEnhancedNetworking:false
AMIForceDeregister:false} BlockDevices:{AMIMappings:[] LaunchMappings:[]} RunConfig:{AssociatePublicIpAddress:false
AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi:ami-1c221e76
SpotPrice: SpotPriceAutoProduct: SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer
571f54b6-6311-6e0c-b859-000882c34618 UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId: Comm:{Type:ssh
SSHHost: SSHPort:22 SSHUsername:centos SSHPassword: SSHPrivateKey: SSHPty:true SSHTimeout:10m0s SSHDisableAgent:false
SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey:
SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0 WinRMUseSSL:false
WinRMInsecure:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[]
ctx:{Data:<nil> Funcs:map[clean_ami_name:0x932fb0] UserVariables:map[] EnableEnv:false BuildName:amazon-ebs
BuildType:amazon-ebs TemplatePath:C:\Users\xxxxxx\Documents\GitHub\packer-download-file.json}}
2016/04/26 07:44:54 Waiting on builds to complete...
2016/04/26 07:44:54 Starting build run: amazon-ebs
2016/04/26 07:44:54 Running builder: amazon-ebs
2016/04/26 07:44:54 ui: ==> amazon-ebs: Prevalidating AMI Name...
==> amazon-ebs: Prevalidating AMI Name...
2016/04/26 07:44:56 ui: ==> amazon-ebs: Inspecting the source AMI...
==> amazon-ebs: Inspecting the source AMI...
2016/04/26 07:44:56 ui: ==> amazon-ebs: Creating temporary keypair: packer
571f54b6-6311-6e0c-b859-000882c34618
==> amazon-ebs: Creating temporary keypair: packer 571f54b6-6311-6e0c-b859-000882c34618
2016/04/26 07:44:56 ui: ==> amazon-ebs: Creating temporary security group for this instance...
==> amazon-ebs: Creating temporary security group for this instance...
2016/04/26 07:44:56 packer.exe: 2016/04/26 07:44:56 Temporary group name: packer 571f54b8-ccd4-d6c0-20bc-b76d66073e23
2016/04/26 07:44:56 ui: ==> amazon-ebs: Authorizing access to port 22 the temporary security group...
==> amazon-ebs: Authorizing access to port 22 the temporary security group...
2016/04/26 07:44:56 ui: ==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Launching a source AWS instance...
2016/04/26 07:44:57 ui:  amazon-ebs: Instance ID: i-15d74388
 amazon-ebs: Instance ID: i-15d74388
2016/04/26 07:44:57 ui: ==> amazon-ebs: Waiting for instance (i-15d74388) to become ready...
2016/04/26 07:44:57 packer.exe: 2016/04/26 07:44:57 Waiting for state to become: running
==> amazon-ebs: Waiting for instance (i-15d74388) to become ready...
2016/04/26 07:44:57 packer.exe: 2016/04/26 07:44:57 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/26 07:45:37 packer.exe: 2016/04/26 07:45:37 [INFO] Not using winrm communicator, skipping get password...
2016/04/26 07:45:37 packer.exe: 2016/04/26 07:45:37 [INFO] Waiting for SSH, up to timeout: 10m0s
2016/04/26 07:45:37 ui: ==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Waiting for SSH to become available...
2016/04/26 07:45:52 packer.exe: 2016/04/26 07:45:52 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
52.90.85.251:22: i/o timeout
2016/04/26 07:46:12 packer.exe: 2016/04/26 07:46:12 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
52.90.85.251:22: i/o timeout
2016/04/26 07:46:26 packer.exe: 2016/04/26 07:46:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
52.90.85.251:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/26 07:46:32 packer.exe: 2016/04/26 07:46:32 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
52.90.85.251:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 [INFO] Attempting SSH connection...
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 reconnecting to TCP connection for SSH
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 handshaking with SSH
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 handshake complete!
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 [ERROR] could not connect to local agent socket:
/tmp/ssh-rKVa5Uk5rlYq/agent.24228
2016/04/26 07:46:37 ui: ==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Connected to SSH!
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 Running the provision hook
2016/04/26 07:46:37 ui: ==> amazon-ebs: Provisioning with shell script:
C:\Users\xxxxxx\AppData\Local\Temp\packer-shell290566767
==> amazon-ebs: Provisioning with shell script: C:\Users\xxxxxx\AppData\Local\Temp\packer-shell290566767
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 Opening C:\Users\xxxxxx\AppData\Local\Temp\packer-shell290566767
for reading
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 [INFO] 51 bytes written for 'uploadData'
2016/04/26 07:46:37 [INFO] 51 bytes written for 'uploadData'
2016/04/26 07:46:37 packer.exe: 2016/04/26 07:46:37 opening new ssh session
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 Starting remote scp process: scp -vt /tmp
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 Started SCP session, beginning transfers...
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 Copying input data into temporary file so we can read the length
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 [DEBUG] scp: Uploading script_3944.sh: perms=C0644 size=51
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 SCP session complete, closing stdin pipe.
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 Waiting for SSH session to complete.
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 scp stderr (length 30): Sink: C0644 51 script_3944.sh
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 opening new ssh session
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 starting remote command: chmod 0755 /tmp/script_3944.sh
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 remote command exited with '0': chmod 0755 /tmp/script_3944.sh
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 [INFO] RPC endpoint: Communicator ended with: 0
2016/04/26 07:46:38 [INFO] RPC client: Communicator ended with: 0
2016/04/26 07:46:38 [INFO] RPC endpoint: Communicator ended with: 0
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 [INFO] RPC client: Communicator ended with: 0
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 opening new ssh session
2016/04/26 07:46:38 packer.exe: 2016/04/26 07:46:38 starting remote command: PACKER_BUILD_NAME='amazon-ebs'
PACKER_BUILDER_TYPE='amazon-ebs' sudo -E /bin/sh -ex '/tmp/script_3944.sh'
2016/04/26 07:46:38 ui:  amazon-ebs: + sort -u
 amazon-ebs: + sort -u
2016/04/26 07:46:38 ui:  amazon-ebs: + rpm -qa
 amazon-ebs: + rpm -qa
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 remote command exited with '0': PACKER_BUILD_NAME='amazon-ebs'
PACKER_BUILDER_TYPE='amazon-ebs' sudo -E /bin/sh -ex '/tmp/script_3944.sh'
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 [INFO] RPC endpoint: Communicator ended with: 0
2016/04/26 07:46:44 [INFO] 22 bytes written for 'stdout'
2016/04/26 07:46:44 [INFO] RPC client: Communicator ended with: 0
2016/04/26 07:46:44 [INFO] 0 bytes written for 'stderr'
2016/04/26 07:46:44 [INFO] RPC endpoint: Communicator ended with: 0
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 [INFO] 22 bytes written for 'stdout'
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 [INFO] RPC client: Communicator ended with: 0
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 [INFO] 0 bytes written for 'stderr'
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 opening new ssh session
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 starting remote command: rm -f /tmp/script_3944.sh
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 remote command exited with '0': rm -f /tmp/script_3944.sh
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 [INFO] RPC endpoint: Communicator ended with: 0
2016/04/26 07:46:44 [INFO] RPC client: Communicator ended with: 0
2016/04/26 07:46:44 [INFO] RPC endpoint: Communicator ended with: 0
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 [INFO] RPC client: Communicator ended with: 0
2016/04/26 07:46:44 ui: ==> amazon-ebs: Downloading /tmp/manifest.log => .manifests/amazon-ebs.manifest
==> amazon-ebs: Downloading /tmp/manifest.log => .manifests/amazon-ebs.manifest
2016/04/26 07:46:44 ui: ==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Terminating the source AWS instance...
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 Waiting for state to become: terminated
2016/04/26 07:46:44 packer.exe: 2016/04/26 07:46:44 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/26 07:47:40 ui: ==> amazon-ebs: No AMIs to cleanup
==> amazon-ebs: No AMIs to cleanup
2016/04/26 07:47:40 ui: ==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary security group...
2016/04/26 07:47:40 ui: ==> amazon-ebs: Deleting temporary keypair...
==> amazon-ebs: Deleting temporary keypair...
2016/04/26 07:47:40 ui error: Build 'amazon-ebs' errored: open .manifests/amazon-ebs.manifest: The system
cannot find the path specified.
2016/04/26 07:47:40 Builds completed. Waiting on interrupt barrier...
2016/04/26 07:47:40 machine readable: error-count []string{"1"}
2016/04/26 07:47:40 ui error:
==> Some builds didn't complete successfully and had errors:
2016/04/26 07:47:40 machine readable: amazon-ebs,error []string{"open .manifests/amazon-ebs.manifest: The system
cannot find the path specified."}
2016/04/26 07:47:40 ui error: --> amazon-ebs: open .manifests/amazon-ebs.manifest: The system cannot find the path
specified.
2016/04/26 07:47:40 ui:
==> Builds finished but no artifacts were created.
2016/04/26 07:47:40 waiting for all plugin processes to complete...
Build 'amazon-ebs' errored: open .manifests/amazon-ebs.manifest: The system cannot find the path specified.
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: open .manifests/amazon-ebs.manifest: The system cannot find the path specified.
==> Builds finished but no artifacts were created.
2016/04/26 07:47:40 C:\Hashicorp\Packer\packer.exe: plugin process exited
2016/04/26 07:47:40 C:\Hashicorp\Packer\packer.exe: plugin process exited
2016/04/26 07:47:40 C:\Hashicorp\Packer\packer.exe: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment