Last active
February 3, 2017 05:31
-
-
Save grv87/773b2b0db08bde45e440fbfcf0680008 to your computer and use it in GitHub Desktop.
Packer 0.12.1 under Windows' symbolic link
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
2016/12/25 18:37:23 [INFO] Packer version: 0.12.1 | |
2016/12/25 18:37:23 Packer Target OS/Arch: windows amd64 | |
2016/12/25 18:37:23 Built with Go Version: go1.7.3 | |
2016/12/25 18:37:23 Using internal plugin for virtualbox-iso | |
2016/12/25 18:37:23 Using internal plugin for amazon-ebs | |
2016/12/25 18:37:23 Using internal plugin for openstack | |
2016/12/25 18:37:23 Using internal plugin for cloudstack | |
2016/12/25 18:37:23 Using internal plugin for file | |
2016/12/25 18:37:23 Using internal plugin for profitbricks | |
2016/12/25 18:37:23 Using internal plugin for qemu | |
2016/12/25 18:37:23 Using internal plugin for virtualbox-ovf | |
2016/12/25 18:37:23 Using internal plugin for vmware-iso | |
2016/12/25 18:37:23 Using internal plugin for amazon-chroot | |
2016/12/25 18:37:23 Using internal plugin for amazon-instance | |
2016/12/25 18:37:23 Using internal plugin for vmware-vmx | |
2016/12/25 18:37:23 Using internal plugin for googlecompute | |
2016/12/25 18:37:23 Using internal plugin for null | |
2016/12/25 18:37:23 Using internal plugin for parallels-iso | |
2016/12/25 18:37:23 Using internal plugin for parallels-pvm | |
2016/12/25 18:37:23 Using internal plugin for digitalocean | |
2016/12/25 18:37:23 Using internal plugin for docker | |
2016/12/25 18:37:23 Using internal plugin for hyperv-iso | |
2016/12/25 18:37:23 Using internal plugin for oneandone | |
2016/12/25 18:37:23 Using internal plugin for amazon-ebsvolume | |
2016/12/25 18:37:23 Using internal plugin for azure-arm | |
2016/12/25 18:37:23 Using internal plugin for windows-restart | |
2016/12/25 18:37:23 Using internal plugin for chef-solo | |
2016/12/25 18:37:23 Using internal plugin for file | |
2016/12/25 18:37:23 Using internal plugin for puppet-server | |
2016/12/25 18:37:23 Using internal plugin for salt-masterless | |
2016/12/25 18:37:23 Using internal plugin for shell | |
2016/12/25 18:37:23 Using internal plugin for shell-local | |
2016/12/25 18:37:23 Using internal plugin for windows-shell | |
2016/12/25 18:37:23 Using internal plugin for ansible | |
2016/12/25 18:37:23 Using internal plugin for ansible-local | |
2016/12/25 18:37:23 Using internal plugin for chef-client | |
2016/12/25 18:37:23 Using internal plugin for powershell | |
2016/12/25 18:37:23 Using internal plugin for puppet-masterless | |
2016/12/25 18:37:23 Using internal plugin for compress | |
2016/12/25 18:37:23 Using internal plugin for docker-save | |
2016/12/25 18:37:23 Using internal plugin for amazon-import | |
2016/12/25 18:37:23 Using internal plugin for atlas | |
2016/12/25 18:37:23 Using internal plugin for docker-import | |
2016/12/25 18:37:23 Using internal plugin for manifest | |
2016/12/25 18:37:23 Using internal plugin for vagrant-cloud | |
2016/12/25 18:37:23 Using internal plugin for artifice | |
2016/12/25 18:37:23 Using internal plugin for checksum | |
2016/12/25 18:37:23 Using internal plugin for docker-tag | |
2016/12/25 18:37:23 Using internal plugin for shell-local | |
2016/12/25 18:37:23 Using internal plugin for vagrant | |
2016/12/25 18:37:23 Using internal plugin for docker-push | |
2016/12/25 18:37:23 Using internal plugin for googlecompute-export | |
2016/12/25 18:37:23 Using internal plugin for vsphere | |
2016/12/25 18:37:23 Attempting to open config file: C:\Users\Basil\AppData\Roaming\packer.config | |
2016/12/25 18:37:23 [WARN] Config file doesn't exist: C:\Users\Basil\AppData\Roaming\packer.config | |
2016/12/25 18:37:23 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[digitalocean:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean oneandone:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack qemu:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu vmware-iso:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso null:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null vmware-vmx:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx googlecompute:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute parallels-iso:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-ebs:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs virtualbox-ovf:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-chroot:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-instance:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance parallels-pvm:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm docker:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker hyperv-iso:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso azure-arm:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-ebsvolume:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume virtualbox-iso:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso cloudstack:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack file:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file profitbricks:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks] PostProcessors:map[checksum:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vsphere:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere amazon-import:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant-cloud:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud atlas:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-save:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag shell-local:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-push:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push compress:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress artifice:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice googlecompute-export:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export manifest:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest] Provisioners:map[puppet-server:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell chef-client:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client powershell:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible-local:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-solo:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file shell-local:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible:C:\root\HASHIC~1\bin\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]} | |
2016/12/25 18:37:23 Setting cache directory: R:\!spikes\packer-symlink\link\packer_cache | |
2016/12/25 18:37:23 Loading builder: virtualbox-ovf | |
2016/12/25 18:37:23 Plugin could not be found. Checking same directory as executable. | |
2016/12/25 18:37:23 Current exe path: C:\root\HASHIC~1\bin\packer.exe | |
2016/12/25 18:37:23 Creating plugin client for path: C:\root\HASHIC~1\bin\packer.exe | |
2016/12/25 18:37:23 Starting plugin: C:\root\HASHIC~1\bin\packer.exe []string{"C:\\root\\HASHIC~1\\bin\\packer.exe", "plugin", "packer-builder-virtualbox-ovf"} | |
2016/12/25 18:37:23 Waiting for RPC address for: C:\root\HASHIC~1\bin\packer.exe | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:23 [INFO] Packer version: 0.12.1 | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Packer Target OS/Arch: windows amd64 | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Built with Go Version: go1.7.3 | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Attempting to open config file: C:\Users\Basil\AppData\Roaming\packer.config | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 [WARN] Config file doesn't exist: C:\Users\Basil\AppData\Roaming\packer.config | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Setting cache directory: R:\!spikes\packer-symlink\link\packer_cache | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 args: []string{"packer-builder-virtualbox-ovf"} | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Plugin minimum port: 10000 | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Plugin maximum port: 25000 | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Plugin address: tcp 127.0.0.1:10000 | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Waiting for connection... | |
2016/12/25 18:37:24 packer.exe: 2016/12/25 18:37:24 Serving a plugin connection... | |
Template validation failed. Errors are shown below. | |
2016/12/25 18:37:24 Preparing build: vbox | |
2016/12/25 18:37:24 Build 'vbox' prepare failure: 1 error(s) occurred: | |
* source_path is invalid: GetFileAttributesEx \\?\R:: The parameter is incorrect. | |
2016/12/25 18:37:24 ui error: Template validation failed. Errors are shown below. | |
2016/12/25 18:37:24 ui error: Errors validating build 'vbox'. 1 error(s) occurred: | |
* source_path is invalid: GetFileAttributesEx \\?\R:: The parameter is incorrect. | |
2016/12/25 18:37:24 waiting for all plugin processes to complete... | |
Errors validating build 'vbox'. 1 error(s) occurred: | |
* source_path is invalid: GetFileAttributesEx \\?\R:: The parameter is incorrect. | |
2016/12/25 18:37:24 C:\root\HASHIC~1\bin\packer.exe: plugin process exited |
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
REM All OK | |
packer validate test.json | |
REM Create link with full path | |
mklink /J link "\\?\%cd%" | |
REM Test new link. Gives something like that: | |
REM <JUNCTION> link [\\?\R:\!spikes\packer-symlink] | |
dir *link* | |
cd link | |
set PACKER_LOG=1 | |
REM But under the link it goes wrong... | |
packer validate test.json > test.log 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"name": "UbuntuServer16.04.1-amd64", | |
"base_image": "UbuntuServer16.04.1-amd64-kernel", | |
"packer_output_dir": "." | |
}, | |
"builders": [ | |
{ | |
"name": "vbox", | |
"vm_name": "{{ user `name` }}", | |
"type": "virtualbox-ovf", | |
"source_path": "{{ user `packer_output_dir` }}/{{ user `base_image` }}-vbox/{{ user `base_image` }}.ovf", | |
"output_directory": "{{ user `packer_output_dir` }}/{{ user `name` }}-vbox", | |
"ssh_username": "ubuntu" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment