Giter Club home page Giter Club logo

Comments (4)

joefitzgerald avatar joefitzgerald commented on July 30, 2024

That looks like a Packer / VMware Workstation issue. I haven't see it before, but Access Is Denied is often something that occurs in one of the following scenarios:

  • You run into UAC privilege issues
  • A file is still in use

from packer-windows.

StefanScherer avatar StefanScherer commented on July 30, 2024

I run into the same issue and start to investigate what's going wrong. With a set PACKER_LOG=1 before calling packer I have found out that packer assumes that the vm is clean, but this is done only with some sleeps. Propably this is not enough to wait for all other VMware processes to exit and release all file handles.

The code to be improved in packer is about here: https://github.com/mitchellh/packer/blob/master/builder/vmware/common/step_shutdown.go#L134

I'll try to fix this.

from packer-windows.

StefanScherer avatar StefanScherer commented on July 30, 2024

You may follow the progress in hashicorp/packer#1267

from packer-windows.

charandas avatar charandas commented on July 30, 2024

Thanks for the link. Closing this for now.

from packer-windows.

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.