Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# $ cat template.json | PACKER_LOG=1 packer build -debug -
2016/03/12 13:23:31 [INFO] Packer version: 0.9.0 a643faae672ec8b8424352476d2b91b7a7f7b06e+CHANGES
2016/03/12 13:23:31 Packer Target OS/Arch: darwin amd64
2016/03/12 13:23:31 Built with Go Version: go1.6
2016/03/12 13:23:31 Detected home directory from env var: /Users/aang
2016/03/12 13:23:31 Using internal plugin for vmware-vmx
2016/03/12 13:23:31 Using internal plugin for docker
2016/03/12 13:23:31 Using internal plugin for parallels-pvm
2016/03/12 13:23:31 Using internal plugin for qemu
2016/03/12 13:23:31 Using internal plugin for virtualbox-ovf
2016/03/12 13:23:31 Using internal plugin for amazon-chroot
2016/03/12 13:23:31 Using internal plugin for amazon-ebs
2016/03/12 13:23:31 Using internal plugin for digitalocean
2016/03/12 13:23:31 Using internal plugin for openstack
2016/03/12 13:23:31 Using internal plugin for file
2016/03/12 13:23:31 Using internal plugin for vmware-iso
2016/03/12 13:23:31 Using internal plugin for virtualbox-iso
2016/03/12 13:23:31 Using internal plugin for amazon-instance
2016/03/12 13:23:31 Using internal plugin for googlecompute
2016/03/12 13:23:31 Using internal plugin for null
2016/03/12 13:23:31 Using internal plugin for parallels-iso
2016/03/12 13:23:31 Using internal plugin for chef-solo
2016/03/12 13:23:31 Using internal plugin for puppet-server
2016/03/12 13:23:31 Using internal plugin for salt-masterless
2016/03/12 13:23:31 Using internal plugin for shell
2016/03/12 13:23:31 Using internal plugin for shell-local
2016/03/12 13:23:31 Using internal plugin for windows-restart
2016/03/12 13:23:31 Using internal plugin for ansible
2016/03/12 13:23:31 Using internal plugin for ansible-local
2016/03/12 13:23:31 Using internal plugin for powershell
2016/03/12 13:23:31 Using internal plugin for puppet-masterless
2016/03/12 13:23:31 Using internal plugin for windows-shell
2016/03/12 13:23:31 Using internal plugin for chef-client
2016/03/12 13:23:31 Using internal plugin for file
2016/03/12 13:23:31 Using internal plugin for docker-push
2016/03/12 13:23:31 Using internal plugin for docker-tag
2016/03/12 13:23:31 Using internal plugin for vagrant-cloud
2016/03/12 13:23:31 Using internal plugin for vsphere
2016/03/12 13:23:31 Using internal plugin for amazon-import
2016/03/12 13:23:31 Using internal plugin for atlas
2016/03/12 13:23:31 Using internal plugin for docker-import
2016/03/12 13:23:31 Using internal plugin for shell-local
2016/03/12 13:23:31 Using internal plugin for vagrant
2016/03/12 13:23:31 Using internal plugin for artifice
2016/03/12 13:23:31 Using internal plugin for compress
2016/03/12 13:23:31 Using internal plugin for docker-save
2016/03/12 13:23:31 Detected home diDebug mode enabled. Builds will not be parallelized.
rectory from env var: /Users/aang
virtualbox-iso output will be in this color.
2016/03/12 13:23:31 Attempting to open config file: /Users/aang/.packerconfig
2016/03/12 13:23:31 [WARN] Config file doesn't exist: /Users/aang/.packerconfig
2016/03/12 13:23:31 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[vmware-vmx:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx docker:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-pvm:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu openstack:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack file:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-chroot:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot virtualbox-ovf:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf digitalocean:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean vmware-iso:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso googlecompute:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute parallels-iso:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-ebs:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs virtualbox-iso:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-instance:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance null:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null] PostProcessors:map[vagrant-cloud:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud atlas:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas shell-local:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local artifice:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice compress:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-push:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-tag:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vsphere:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere amazon-import:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-save:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save] Provisioners:map[ansible:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible-local:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local powershell:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell windows-shell:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server file:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file]}
2016/03/12 13:23:31 Setting cache directory: /Users/aang/Code/packer-debug/packer_cache
2016/03/12 13:23:31 Detected home directory from env var: /Users/aang
2016/03/12 13:23:31 Loading builder: virtualbox-iso
2016/03/12 13:23:31 Plugin could not be found. Checking same directory as executable.
2016/03/12 13:23:31 Current exe path: /usr/local/Cellar/packer/0.9.0/bin/packer
2016/03/12 13:23:31 Creating plugin client for path: /usr/local/Cellar/packer/0.9.0/bin/packer
2016/03/12 13:23:31 Starting plugin: /usr/local/Cellar/packer/0.9.0/bin/packer []string{"/usr/local/Cellar/packer/0.9.0/bin/packer", "plugin", "packer-builder-virtualbox-iso"}
2016/03/12 13:23:31 Waiting for RPC address for: /usr/local/Cellar/packer/0.9.0/bin/packer
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 [INFO] Packer version: 0.9.0 a643faae672ec8b8424352476d2b91b7a7f7b06e+CHANGES
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Packer Target OS/Arch: darwin amd64
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Built with Go Version: go1.6
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Detected home directory from env var: /Users/aang
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for amazon-instance
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for googlecompute
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for openstack
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for amazon-ebs
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for docker
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for amazon-chroot
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for null
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for parallels-iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for parallels-pvm
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for vmware-vmx
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for digitalocean
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for file
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for qemu
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for virtualbox-iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for virtualbox-ovf
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for vmware-iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for chef-client
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for salt-masterless
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for shell-local
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for windows-restart
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for powershell
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for puppet-masterless
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for puppet-server
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for shell
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for ansible
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for ansible-local
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for chef-solo
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for file
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for windows-shell
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for amazon-import
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for atlas
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for docker-push
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for docker-tag
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for vagrant
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for vagrant-cloud
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for artifice
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for compress
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for docker-import
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for docker-save
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for shell-local
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Using internal plugin for vsphere
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Detected home directory from env var: /Users/aang
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Attempting to open config file: /Users/aang/.packerconfig
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 [WARN] Config file doesn't exist: /Users/aang/.packerconfig
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[vmware-iso:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso googlecompute:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null parallels-iso:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm digitalocean:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-chroot:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-instance:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance openstack:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebs:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs vmware-vmx:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx file:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file qemu:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu virtualbox-iso:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf] PostProcessors:map[docker-save:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save atlas:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-push:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vagrant-cloud:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud compress:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-import:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vsphere:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere amazon-import:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-tag:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant artifice:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice shell-local:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local] Provisioners:map[puppet-masterless:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo windows-shell:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell shell-local:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local powershell:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell windows-restart:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-server:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell file:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-client:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:/usr/local/Cellar/packer/0.9.0/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless]}
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Setting cache directory: /Users/aang/Code/packer-debug/packer_cache
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 args: []string{"packer-builder-virtualbox-iso"}
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Plugin minimum port: 10000
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Plugin maximum port: 25000
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Detected home directory from env var: /Users/aang
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Plugin address: unix /var/folders/c6/krcyvdws30j7l8t248vh_rj40000gn/T/packer-plugin529558907
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Waiting for connection...
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Serving a plugin connection...
2016/03/12 13:23:31 ui: Debug mode enabled. Builds will not be parallelized.
2016/03/12 13:23:31 ui: virtualbox-iso output will be in this color.
2016/03/12 13:23:31 ui:
2016/03/12 13:23:31 Build debug mode: true
2016/03/12 13:23:31 Force build: false
2016/03/12 13:23:31 Preparing build: virtualbox-iso
2016/03/12 13:23:31 Debug enabled, so waiting for build to finish: virtualbox-iso
2016/03/12 13:23:31 Starting build run: virtualbox-iso
2016/03/12 13:23:31 Running builder: virtualbox-iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 VBoxManage path: /usr/local/bin/VBoxManage
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 VBoxManage --version output: 5.0.14r105127
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 VirtualBox version: 5.0.14
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Found Default Guest Additions ISO: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Guest additions URL: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
2016/03/12 13:23:31 ui: ==> virtualbox-iso: Downloading or copying Guest additions
==> virtualbox-iso: Downloading or copying Guest additions
2016/03/12 13:23:31 ui: virtualbox-iso: Downloading or copying: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Acquiring lock to download: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
virtualbox-iso: Downloading or copying: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso", RawPath:"", RawQuery:"", Fragment:""}
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 [DEBUG] Using local file: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
2016/03/12 13:23:31 ui: ask: ==> virtualbox-iso: Pausing after run of step 'StepDownloadGuestAdditions'. Press enter to continue.
2016/03/12 13:23:31 ui: scan err: EOF
2016/03/12 13:23:31 ui: ==> virtualbox-iso: Downloading or copying ISO
==> virtualbox-iso: Pausing after run of step 'StepDownloadGuestAdditions'. Press enter to continue. ==> virtualbox-iso: Downloading or copying ISO
2016/03/12 13:23:31 ui: virtualbox-iso: Downloading or copying: http://releases.ubuntu.com/14.04.4/ubuntu-14.04.3-server-amd64.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Acquiring lock to download: http://releases.ubuntu.com/14.04.4/ubuntu-14.04.3-server-amd64.iso
virtualbox-iso: Downloading or copying: http://releases.ubuntu.com/14.04.4/ubuntu-14.04.3-server-amd64.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Verifying checksum of /Users/aang/Code/packer-debug/packer_cache/502777251a1542608ee111955fec0025bb730d22301bc5fe9240d9af772b7182.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Parsed URL: &url.URL{Scheme:"http", Opaque:"", User:(*url.Userinfo)(nil), Host:"releases.ubuntu.com", Path:"/14.04.4/ubuntu-14.04.3-server-amd64.iso", RawPath:"", RawQuery:"", Fragment:""}
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 [DEBUG] Downloading: http://releases.ubuntu.com/14.04.4/ubuntu-14.04.3-server-amd64.iso
2016/03/12 13:23:31 packer: 2016/03/12 13:23:31 Starting download: http://releases.ubuntu.com/14.04.4/ubuntu-14.04.3-server-amd64.iso
2016/03/12 13:23:36 ui: virtualbox-iso: Download progress: 1%
virtualbox-iso: Download progress: 1%
^C # canceled execution as enter was already skipped
2016/03/12 13:23:38 Closing stdin because interrupt received.
2016/03/12 13:23:38 Stopping build: virtualbox-iso
2016/03/12 13:23:38 packer: 2016/03/12 13:23:38 Closing stdin because interrupt received.
2016/03/12 13:23:38 packer: 2016/03/12 13:23:38 Received interrupt signal (count: 1). Ignoring.
2016/03/12 13:23:38 packer: 2016/03/12 13:23:38 Cancelling the step runner...
2016/03/12 13:23:39 ui: ==> virtualbox-iso: Interrupt received. Cancelling download...
==> virtualbox-iso: Interrupt received. Cancelling download...
2016/03/12 13:23:39 ui: ask: ==> virtualbox-iso: Pausing before cleanup of step 'StepDownloadGuestAdditions'. Press enter to continue.
2016/03/12 13:23:39 ui: scan err: EOF
2016/03/12 13:23:39 Build cancelled: virtualbox-iso
2016/03/12 13:23:39 ui error: Build 'virtualbox-iso' errored: Build was cancelled.
2016/03/12 13:23:39 Interrupted, not going to start any more builds.
2016/03/12 13:23:39 Waiting on builds to complete...
2016/03/12 13:23:39 Builds completed. Waiting on interrupt barrier...
2016/03/12 13:23:39 ui: Cleanly cancelled builds after being interrupted.
2016/03/12 13:23:39 waiting for all plugin processes to complete...
==> virtualbox-iso: Pausing before cleanup of step 'StepDownloadGuestAdditions'. Press enter to continue. Build 'virtualbox-iso' errored: Build was cancelled.
Cleanly cancelled builds after being interrupted.
2016/03/12 13:23:39 /usr/local/Cellar/packer/0.9.0/bin/packer: plugin process exited
# Some inspiration:
# * https://github.com/chrisroberts/vagrant-boxes/blob/master/definitions/precise-64/preseed.cfg
# * https://github.com/cal/vagrant-ubuntu-precise-64/blob/master/preseed.cfg
# English plx
d-i debian-installer/language string en
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/preferred-locale string en_US.UTF-8
d-i localechooser/supported-locales en_US.UTF-8
# Including keyboards
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layout select USA
d-i keyboard-configuration/variant select USA
d-i keyboard-configuration/modelcode string pc105
# Just roll with it
d-i netcfg/get_hostname string this-host
d-i netcfg/get_domain string this-host
d-i time/zone string UTC
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
# Choices: Dialog, Readline, Gnome, Kde, Editor, Noninteractive
d-i debconf debconf/frontend select Noninteractive
d-i pkgsel/install-language-support boolean false
tasksel tasksel/first multiselect standard, ubuntu-server
# Stuck between a rock and a HDD place
d-i partman-auto/method string lvm
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
# Write the changes to disks and configure LVM?
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto-lvm/guided_size string max
# No proxy, plx
d-i mirror/http/proxy string
# Default user, change
d-i passwd/user-fullname string kappataumu
d-i passwd/username string kappataumu
d-i passwd/user-password password kappataumu
d-i passwd/user-password-again password kappataumu
d-i user-setup/encrypt-home boolean false
d-i user-setup/allow-password-weak boolean true
# No language support packages.
d-i pkgsel/install-language-support boolean false
# Individual additional packages to install
d-i pkgsel/include string build-essential ssh
#For the update
d-i pkgsel/update-policy select none
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select safe-upgrade
# Go grub, go!
d-i grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note
{
"variables": {
"ssh_name": "kappataumu",
"ssh_pass": "kappataumu",
"hostname": "packer-test"
},
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Ubuntu_64",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--vram", "32"]
],
"disk_size" : 10000,
"iso_url": "http://releases.ubuntu.com/14.04.4/ubuntu-14.04.3-server-amd64.iso",
"iso_checksum": "9e5fecc94b3925bededed0fdca1bd417",
"iso_checksum_type": "md5",
"http_directory" : "ubuntu_64",
"http_port_min" : 9001,
"http_port_max" : 9001,
"ssh_username": "{{user `ssh_name`}}",
"ssh_password": "{{user `ssh_pass`}}",
"ssh_wait_timeout": "20m",
"shutdown_command": "echo {{user `ssh_pass`}} | sudo -S shutdown -P now",
"boot_command" : [
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
"hostname={{user `hostname`}} ",
"fb=false debconf/frontend=noninteractive ",
"keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA ",
"keyboard-configuration/variant=USA console-setup/ask_detect=false ",
"initrd=/install/initrd.gz -- <enter>"
]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment