Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building the vagrant box using packer. #588

Open
Onyeze-code opened this issue Feb 15, 2023 · 3 comments
Open

Error building the vagrant box using packer. #588

Onyeze-code opened this issue Feb 15, 2023 · 3 comments

Comments

@Onyeze-code
Copy link

Onyeze-code commented Feb 15, 2023

Issue Description

Please check the General Issues section in the wiki before you submit the issue.
If you didn't find your issue mentioned, please give a thorough description of the issue you're seeing.
Also, please be sure to include any troubleshooting steps that you've already attempted.

Host System

  • OS: windows 10
  • Packer Version: 1.8.5_windows_amd64
  • Vagrant Version: 2.3.4
  • VirtualBox Version: 7.0.6-155176-Win

Command Output

Copy the relevant command output here.
If it's long, either post to a gist and add the link here, or isolate the error lines.

+Metasploit3-master\build.ps1:157 char:10
+throw Error building the Vagrant box using Packer. Please c ...
+Category info : OperationStopped: (Error building ...error

I need help with this

@gwillcox-r7
Copy link

Insufficient information has been provided to replicate this issue. The information is truncated so we can't see the error info. Please provide additional information on commands executed and steps taken for us to be able to replicate your issue.

@Onyeze-code
Copy link
Author

Error building the Vagrant box using Packer
I could not copy the exact messages so I decided to use the snipping tool. You will see exact messages on the snip.
I installed Vagrant and Packer in my Windows PC.
I installed plugins using vagrant
I had a packer folder in my program file and also added the packer path in my Environment using Edit Environment
I set Execution Policy to unrestricted and shut down windows defender

@jmartin-tech
Copy link
Contributor

This is a packer error likely due to a previous failure, the output-virtualbox-iso folder did not clean up properly, please remove the folder and try the build again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants