Giter Club home page Giter Club logo

Comments (3)

andybrucenet avatar andybrucenet commented on September 6, 2024

Hi - ran into this as well and solved by modifying vbox-2016.json to replace the chef-solo section with:

{   
      "type": "chef-solo",
      "remote_cookbook_paths": [
        "c:/windows/temp/packer-chef-solo/cookbooks-0",
        "c:/windows/temp/packer-chef-solo/cookbooks-1"
      ],

In the above note that the remote_cookbook_paths were originally packer-chef-client which does not exist on the guest.

I now have a successful build:

[...cut...]
    virtualbox-iso (vagrant): Compressing: packer-virtualbox-iso-1483422361-disk1.vmdk
Build 'virtualbox-iso' finished.

==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: VM files in directory: output-virtualbox-iso
--> virtualbox-iso: 'virtualbox' provider box: windows2016min-virtualbox.box

CloudraticSolutionsLLCs-MacBook-Pro:packer-templates l.abruce$ ls -la $(find . -name windows2016min-virtualbox.box)
-rw-r--r--  1 l.abruce  staff  5133972393 Jan  3 01:47 ./windows2016min-virtualbox.box

I'll try adding the box to vagrant and initializing a vagrant project with it tomorrow. While the size is still 5GB, I am deeply appreciative to Matt for setting this up. I'd been looking for an easier way to spin up Windoze boxes using Vagrant. Rock on!

from packer-templates.

mwrock avatar mwrock commented on September 6, 2024

Oh interesting. This may have changed in packer 0.12.1. if you want to submit a pr to fix that's cool but no need at all. I'll fix later. Thanks for posting!

from packer-templates.

mwrock avatar mwrock commented on September 6, 2024

Just fixed this. Thanks again!

from packer-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.