Closed caloss1 closed 6 years ago
Try downloading Vagrant 1.9.1 and running it with that. According to the General Issues page Vagrant 1.9.1 is the currently supported version. https://releases.hashicorp.com/vagrant/1.9.1/
The General Issues wiki page looks like it hasn't been updated recently. @caloss1 You should be able to use a newer version of Vagrant. Have you tried using packer version 1.2.2? Your screenshot doesn't show all of the console output. What command did you run that produced the above output? I haven't worked with the PS build, but some of the paths in your output look a bit odd to me with the mixed path separators /
and \
.
i install excact like the youtbue toturial the command i use is .\build_win2008.ps1
still dont work, what i can do?
According to your output the box built properly it just need to be added to vagrant
I would try moving into the folder where the box is located and import there.
cd packer\builds\
vagrant box add metasploitable3-win2k8 windows_2008_r2_virtualbox.box
clone from this user's fork https://github.com/Chan9390/metasploitable3 and build.... make sure you remove any existing vagrant boxes prior
PS> vagrant box list
then delete any of the listed box with
PS> vagrant box remove
His build script worked for me on Windows 10 Pro
Hey @caloss1 , sorry for late reply.
From the logs I could notice a box is created at J:\DownloadGames\metasploitable3-master\packer\builds\windows_2008_r2_virtualbox_0.1.0.box
. But when the script adds the box, it is looking for the box file windows_2008_r2_virtualbox.box
which doesn't exist.
Solution:
cd packer\builds\
vagrant box add metasploitable3-win2k8 windows_2008_r2_virtualbox_0.1.0.box
Merging PR #277 will resolve this issue.
Closing as fixed with #277
Issue Description
*Please check the General Issues i follow the all YouTube tutorial and start the powershell script, the installation stuck every time by error
i try different version of packer and vagrant, nothing its seems the entire setup is corrupted
Host System
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.