Created
January 17, 2017 14:43
-
-
Save petemounce/64303bde389c2b726b3ddf1ea729687b to your computer and use it in GitHub Desktop.
packer-template error
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
$ packer build --only=virtualbox-iso -var 'iso_url=file:///Volumes/PETERMOUNCE/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO' ./vbox-2016.json | |
virtualbox-iso output will be in this color. | |
==> virtualbox-iso: Downloading or copying Guest additions | |
virtualbox-iso: Downloading or copying: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso | |
==> virtualbox-iso: Downloading or copying ISO | |
virtualbox-iso: Downloading or copying: file:///Volumes/PETERMOUNCE/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO | |
==> virtualbox-iso: Creating floppy disk... | |
virtualbox-iso: Copying files flatly from floppy_files | |
virtualbox-iso: Copying file: answer_files/2016/Autounattend.xml | |
virtualbox-iso: Copying file: scripts/winrm.ps1 | |
virtualbox-iso: Done copying files from floppy_files | |
virtualbox-iso: Collecting paths from floppy_dirs | |
virtualbox-iso: Resulting paths from floppy_dirs : [] | |
virtualbox-iso: Done copying paths from floppy_dirs | |
==> virtualbox-iso: Creating virtual machine... | |
==> virtualbox-iso: Creating hard drive... | |
==> virtualbox-iso: Attaching floppy disk... | |
==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 4175) | |
==> virtualbox-iso: Executing custom VBoxManage commands... | |
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1484661860 --natpf1 guest_winrm,tcp,,55985,,5985 | |
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1484661860 --memory 2048 | |
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1484661860 --vram 48 | |
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1484661860 --cpus 2 | |
==> virtualbox-iso: Starting the virtual machine... | |
virtualbox-iso: The VM will be run headless, without a GUI. If you want to | |
virtualbox-iso: view the screen of the VM, connect via VRDP without a password to | |
virtualbox-iso: 127.0.0.1:5917 | |
==> virtualbox-iso: Waiting 10s for boot... | |
==> virtualbox-iso: Typing the boot command... | |
==> virtualbox-iso: Waiting for WinRM to become available... | |
==> virtualbox-iso: Connected to WinRM! | |
==> virtualbox-iso: Uploading VirtualBox version info (5.1.8) | |
==> virtualbox-iso: Provisioning with chef-solo | |
virtualbox-iso: Installing Chef... | |
virtualbox-iso: | |
virtualbox-iso: ModuleType Version Name ExportedCommands | |
virtualbox-iso: ---------- ------- ---- ---------------- | |
virtualbox-iso: Script 0.0 Omnitruck {Get-ProjectMetadata, Install-Project, install} | |
virtualbox-iso: Installing chef from C:\Users\vagrant\AppData\Local\Temp\chef-client-12.17.44-1-x64.msi | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Creating directory: C:/Windows/Temp/packer-chef-solo | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Directory: C:\Windows\Temp | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Mode LastWriteTime Length Name | |
virtualbox-iso: ---- ------------- ------ ---- | |
virtualbox-iso: d----- 1/17/2017 2:11 PM packer-chef-solo | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: 'skipping chmod 0777 C:/Windows/Temp/packer-chef-solo' | |
virtualbox-iso: Creating directory: C:/Windows/Temp/packer-chef-solo/cookbooks-0 | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Directory: C:\Windows\Temp\packer-chef-solo | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Mode LastWriteTime Length Name | |
virtualbox-iso: ---- ------------- ------ ---- | |
virtualbox-iso: d----- 1/17/2017 2:11 PM cookbooks-0 | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: 'skipping chmod 0777 C:/Windows/Temp/packer-chef-solo/cookbooks-0' | |
virtualbox-iso: Creating directory: C:/Windows/Temp/packer-chef-solo/cookbooks-1 | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Directory: C:\Windows\Temp\packer-chef-solo | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Mode LastWriteTime Length Name | |
virtualbox-iso: ---- ------------- ------ ---- | |
virtualbox-iso: d----- 1/17/2017 2:11 PM cookbooks-1 | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: 'skipping chmod 0777 C:/Windows/Temp/packer-chef-solo/cookbooks-1' | |
virtualbox-iso: Creating configuration file 'solo.rb' | |
virtualbox-iso: Creating JSON attribute file | |
virtualbox-iso: Executing Chef: c:/opscode/chef/bin/chef-solo.bat --no-color -c C:/Windows/Temp/packer-chef-solo/solo.rb -j C:/Windows/Temp/packer-chef-solo/node.json | |
virtualbox-iso: [2017-01-17T14:13:05+00:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at C:/Windows/Temp/packer-chef-solo, C:/Windows/Temp/packer-chef-solo | |
virtualbox-iso: One version per cookbook | |
virtualbox-iso: | |
virtualbox-iso: [2017-01-17T14:13:05+00:00] INFO: *** Chef 12.17.44 *** | |
virtualbox-iso: [2017-01-17T14:13:05+00:00] INFO: Platform: x64-mingw32 | |
virtualbox-iso: [2017-01-17T14:13:05+00:00] INFO: Chef-client pid: 2784 | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/VAGRANT-4TKER9R.INTERNAL.IMPROBABLEWORLDS.NET | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: Setting the run_list to ["wsus-client::configure", "packer-templates::install_ps_modules", "packer-templates::vbox_guest_additions", "packer-templates::uninstall_powershell_ise", "packer-templates::delete_pagefile"] from CLI options | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: Run List is [recipe[wsus-client::configure], recipe[packer-templates::install_ps_modules], recipe[packer-templates::vbox_guest_additions], recipe[packer-templates::uninstall_powershell_ise], recipe[packer-templates::delete_pagefile]] | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: Run List expands to [wsus-client::configure, packer-templates::install_ps_modules, packer-templates::vbox_guest_additions, packer-templates::uninstall_powershell_ise, packer-templates::delete_pagefile] | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: Starting Chef Run for VAGRANT-4TKER9R.INTERNAL.IMPROBABLEWORLDS.NET | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: Running start handlers | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: Start handlers complete. | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] WARN: Child with name 'packer-templates' found in multiple directories: C:/Windows/Temp/packer-chef-solo/cookbooks-0/packer-templates and C:/Windows/Temp/packer-chef-solo/cookbooks-1/packer-templates | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] WARN: Child with name 'packer-templates' found in multiple directories: C:/Windows/Temp/packer-chef-solo/cookbooks-0/packer-templates and C:/Windows/Temp/packer-chef-solo/cookbooks-1/packer-templates | |
virtualbox-iso: [2017-01-17T14:13:09+00:00] WARN: Child with name 'packer-templates' found in multiple directories: C:/Windows/Temp/packer-chef-solo/cookbooks-0/packer-templates and C:/Windows/Temp/packer-chef-solo/cookbooks-1/packer-templates | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected]] | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/providers/update.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/libraries/matchers.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/recipes/configure.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/chefignore in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/recipes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/resources/update.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/libraries/helper.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/Berksfile in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/recipes/update.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/attributes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/Gemfile in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/Rakefile in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/Gemfile.lock in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/README.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/add_pagefile.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/add_setup_complete.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/clean_sxs.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/metadata.json in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/add_postunattend.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/wsus-client/LICENSE in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/delete_pagefile.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/enable_file_sharing.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/install_ps_modules.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/psgallery.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/remove_dirs.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/remote_desktop.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/set_local_account_token_filter_policy.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/uninstall_powershell_ise.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/recipes/vbox_guest_additions.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/templates/default/postunattend.xml.erb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/Berksfile.lock in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/templates/default/packer_shutdown.bat.erb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/Berksfile in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/.kitchen.yml in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/batch.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/auto_run.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/metadata.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/certificate.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/packer-templates/chefignore in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/certificate_binding.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/font.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/feature.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/pagefile.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/http_acl.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/path.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/reboot.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/registry.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/printer.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/printer_port.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/shortcut.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/zipfile.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/resources/task.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/auto_run.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/batch.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/certificate.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/feature_dism.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/certificate_binding.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/feature_powershell.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/feature_servermanagercmd.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/font.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/http_acl.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/pagefile.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/path.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/printer.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/printer_port.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/reboot.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/shortcut.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/registry.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/recipes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/zipfile.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/providers/task.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/recipes/reboot_handler.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/feature_base.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/powershell_out.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/powershell_helper.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/matchers.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/version.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/registry_helper.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_helper.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_architecture_helper.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_privileged.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/wmi_helper.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/libraries/windows_package.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/attributes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/files/default/handlers/windows_reboot_handler.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/.foodcritic in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/CONTRIBUTING.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/MAINTAINERS.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/CHANGELOG.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/resources/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/providers/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/metadata.json in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/windows/README.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/recipes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/recipes/json_file.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/libraries/helpers.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/libraries/matchers.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/attributes/default.rb in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/files/default/handlers/README in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/CHANGELOG.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/MAINTAINERS.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/CONTRIBUTING.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/metadata.json in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Storing updated cookbooks/chef_handler/README.md in the cache. | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] WARN: Using an LWRP provider by its name (WindowsFeatureDism) directly is no longer supported in Chef 12 and will be removed. Use Chef::ProviderResolver.new(node, resource, action) instead. (CHEF-5)c:/windows/temp/packer-chef-solo/local-mode-cache/cache/cookbooks/windows/resources/feature.rb:32:in `initialize'. | |
virtualbox-iso: Please see https://docs.chef.io/deprecations_custom_resource_cleanups.html for further details and information on how to correct this problem. at c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/event_dispatch/dispatcher.rb:43:in `call' | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Processing registry_key[HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate] action create (wsus-client::configure line 45) | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: registry_key[HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate] sending restart action to windows_service[wuauserv] (immediate) | |
virtualbox-iso: [2017-01-17T14:13:10+00:00] INFO: Processing windows_service[wuauserv] action restart (wsus-client::configure line 95) | |
virtualbox-iso: [2017-01-17T14:13:11+00:00] INFO: windows_service[wuauserv] configured with {:service_name=>"wuauserv"} | |
virtualbox-iso: [2017-01-17T14:13:12+00:00] INFO: windows_service[wuauserv] restarted | |
virtualbox-iso: [2017-01-17T14:13:12+00:00] INFO: windows_service[wuauserv] sending run action to powershell_script[Force Windows update detection cycle] (immediate) | |
virtualbox-iso: [2017-01-17T14:13:12+00:00] INFO: Processing powershell_script[Force Windows update detection cycle] action run (wsus-client::configure line 102) | |
virtualbox-iso: [2017-01-17T14:13:13+00:00] INFO: powershell_script[Force Windows update detection cycle] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:13+00:00] INFO: Processing registry_key[HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] action create (wsus-client::configure line 65) | |
virtualbox-iso: [2017-01-17T14:13:13+00:00] INFO: registry_key[HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] sending restart action to windows_service[wuauserv] (immediate) | |
virtualbox-iso: [2017-01-17T14:13:13+00:00] INFO: Processing windows_service[wuauserv] action restart (wsus-client::configure line 95) | |
virtualbox-iso: [2017-01-17T14:13:14+00:00] INFO: windows_service[wuauserv] configured with {:service_name=>"wuauserv"} | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: windows_service[wuauserv] restarted | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: windows_service[wuauserv] sending run action to powershell_script[Force Windows update detection cycle] (immediate) | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: Processing powershell_script[Force Windows update detection cycle] action run (wsus-client::configure line 102) | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: powershell_script[Force Windows update detection cycle] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: Processing windows_service[wuauserv] action start (wsus-client::configure line 95) | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: Processing windows_service[wuauserv] action enable (wsus-client::configure line 95) | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: windows_service[wuauserv] enabled | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: windows_service[wuauserv] sending run action to powershell_script[Force Windows update detection cycle] (immediate) | |
virtualbox-iso: [2017-01-17T14:13:15+00:00] INFO: Processing powershell_script[Force Windows update detection cycle] action run (wsus-client::configure line 102) | |
virtualbox-iso: [2017-01-17T14:13:16+00:00] INFO: powershell_script[Force Windows update detection cycle] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:16+00:00] INFO: Processing powershell_script[Force Windows update detection cycle] action nothing (wsus-client::configure line 102) | |
virtualbox-iso: [2017-01-17T14:13:16+00:00] INFO: Processing powershell_script[install Nuget package provider] action run (packer-templates::install_ps_modules line 1) | |
virtualbox-iso: [2017-01-17T14:13:16+00:00] INFO: Processing powershell_script[Guard resource] action run (dynamically defined) | |
virtualbox-iso: [2017-01-17T14:13:26+00:00] INFO: powershell_script[install Nuget package provider] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:26+00:00] INFO: Processing powershell_script[install PSWindowsUpdate module] action run (packer-templates::install_ps_modules line 7) | |
virtualbox-iso: [2017-01-17T14:13:26+00:00] INFO: Processing powershell_script[Guard resource] action run (dynamically defined) | |
virtualbox-iso: [2017-01-17T14:13:37+00:00] INFO: powershell_script[install PSWindowsUpdate module] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:37+00:00] INFO: Processing powershell_script[install xNetworking module] action run (packer-templates::install_ps_modules line 7) | |
virtualbox-iso: [2017-01-17T14:13:37+00:00] INFO: Processing powershell_script[Guard resource] action run (dynamically defined) | |
virtualbox-iso: [2017-01-17T14:13:46+00:00] INFO: powershell_script[install xNetworking module] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:46+00:00] INFO: Processing powershell_script[install xRemoteDesktopAdmin module] action run (packer-templates::install_ps_modules line 7) | |
virtualbox-iso: [2017-01-17T14:13:46+00:00] INFO: Processing powershell_script[Guard resource] action run (dynamically defined) | |
virtualbox-iso: [2017-01-17T14:13:54+00:00] INFO: powershell_script[install xRemoteDesktopAdmin module] ran successfully | |
virtualbox-iso: [2017-01-17T14:13:54+00:00] INFO: Processing powershell_script[install xCertificate module] action run (packer-templates::install_ps_modules line 7) | |
virtualbox-iso: [2017-01-17T14:13:54+00:00] INFO: Processing powershell_script[Guard resource] action run (dynamically defined) | |
virtualbox-iso: [2017-01-17T14:14:00+00:00] INFO: powershell_script[install xCertificate module] ran successfully | |
virtualbox-iso: [2017-01-17T14:14:00+00:00] INFO: Processing dsc_resource[Install Oracle Cert] action run (packer-templates::vbox_guest_additions line 1) | |
virtualbox-iso: | |
virtualbox-iso: ================================================================================ | |
virtualbox-iso: Error executing action `run` on resource 'dsc_resource[Install Oracle Cert]' | |
virtualbox-iso: ================================================================================ | |
virtualbox-iso: | |
virtualbox-iso: Chef::Exceptions::PowershellCmdletException | |
virtualbox-iso: ------------------------------------------- | |
virtualbox-iso: Powershell Cmdlet failed: PowerShell DSC resource MSFT_xCertificateImport failed to execute Test-TargetResource functionality with error | |
virtualbox-iso: message: Cannot validate argument on parameter 'Path'. File 'e:/cert/vbox-sha1.cer' not found. | |
virtualbox-iso: + CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException | |
virtualbox-iso: + FullyQualifiedErrorId : ProviderOperationExecutionFailure | |
virtualbox-iso: + PSComputerName : localhost | |
virtualbox-iso: | |
virtualbox-iso: | |
virtualbox-iso: Resource Declaration: | |
virtualbox-iso: --------------------- | |
virtualbox-iso: # In c:/windows/temp/packer-chef-solo/local-mode-cache/cache/cookbooks/packer-templates/recipes/vbox_guest_additions.rb | |
virtualbox-iso: | |
virtualbox-iso: 1: dsc_resource "Install Oracle Cert" do | |
virtualbox-iso: 2: resource :xCertificateImport | |
virtualbox-iso: 3: property :Thumbprint, "7e92b66be51b79d8ce3ff25c15c2df6ab8c7f2f2" | |
virtualbox-iso: 4: property :Store, "TrustedPublisher" | |
virtualbox-iso: 5: property :Location, "LocalMachine" | |
virtualbox-iso: 6: property :Path, "e:/cert/vbox-sha1.cer" | |
virtualbox-iso: 7: end | |
virtualbox-iso: 8: | |
virtualbox-iso: | |
virtualbox-iso: Compiled Resource: | |
virtualbox-iso: ------------------ | |
virtualbox-iso: # Declared in c:/windows/temp/packer-chef-solo/local-mode-cache/cache/cookbooks/packer-templates/recipes/vbox_guest_additions.rb:1:in `from_file' | |
virtualbox-iso: | |
virtualbox-iso: dsc_resource("Install Oracle Cert") do | |
virtualbox-iso: action [:run] | |
virtualbox-iso: retries 0 | |
virtualbox-iso: retry_delay 2 | |
virtualbox-iso: default_guard_interpreter :default | |
virtualbox-iso: properties {Thumbprint=>"7e92b66be51b79d8ce3ff25c15c2df6ab8c7f2f2", Store=>"TrustedPublisher", Location=>"LocalMachine", Path=>"e:/cert/vbox-sha1.cer"} | |
virtualbox-iso: resource :xCertificateImport | |
virtualbox-iso: reboot_action :nothing | |
virtualbox-iso: declared_type :dsc_resource | |
virtualbox-iso: cookbook_name "packer-templates" | |
virtualbox-iso: recipe_name "vbox_guest_additions" | |
virtualbox-iso: end | |
virtualbox-iso: | |
virtualbox-iso: Platform: | |
virtualbox-iso: --------- | |
virtualbox-iso: x64-mingw32 | |
virtualbox-iso: | |
virtualbox-iso: [2017-01-17T14:14:07+00:00] INFO: Running queued delayed notifications before re-raising exception | |
virtualbox-iso: [2017-01-17T14:14:07+00:00] ERROR: Running exception handlers | |
virtualbox-iso: [2017-01-17T14:14:07+00:00] ERROR: Exception handlers complete | |
virtualbox-iso: [2017-01-17T14:14:07+00:00] FATAL: Stacktrace dumped to c:/windows/temp/packer-chef-solo/local-mode-cache/cache/chef-stacktrace.out | |
virtualbox-iso: [2017-01-17T14:14:07+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report | |
virtualbox-iso: [2017-01-17T14:14:07+00:00] FATAL: Chef::Exceptions::PowershellCmdletException: dsc_resource[Install Oracle Cert] (packer-templates::vbox_guest_additions line 1) had an error: Chef::Exceptions::PowershellCmdletException: Powershell Cmdlet failed: PowerShell DSC resource MSFT_xCertificateImport failed to execute Test-TargetResource functionality with error | |
virtualbox-iso: message: Cannot validate argument on parameter 'Path'. File 'e:/cert/vbox-sha1.cer' not found. | |
virtualbox-iso: + CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException | |
virtualbox-iso: + FullyQualifiedErrorId : ProviderOperationExecutionFailure | |
virtualbox-iso: + PSComputerName : localhost | |
virtualbox-iso: | |
virtualbox-iso: | |
==> virtualbox-iso: Unregistering and deleting virtual machine... | |
==> virtualbox-iso: Deleting output directory... | |
Build 'virtualbox-iso' errored: Error executing Chef: Non-zero exit status: 1 | |
==> Some builds didn't complete successfully and had errors: | |
--> virtualbox-iso: Error executing Chef: Non-zero exit status: 1 | |
==> Builds finished but no artifacts were created. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment