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

Box version constraints #348

Open
sneckey0day opened this issue Jan 12, 2025 · 8 comments
Open

Box version constraints #348

sneckey0day opened this issue Jan 12, 2025 · 8 comments

Comments

@sneckey0day
Copy link

Getting Box Version constraints.

Tried To Fix : Changed Version , Removed Them And used 2022 , 2019 Box Files !! But non of the method Worked Out.

Here is the terminal Screenshots.
Screenshot From 2025-01-12 11-03-41

Any Solution for This Issue ?

@jfarl
Copy link

jfarl commented Jan 12, 2025

Same problem. Running on the latest Kali 2024.4 on VMWare Workstation with the virtualbox provider and enough RAM

@jfarl
Copy link

jfarl commented Jan 12, 2025

I'm getting the same error with the vagrant CLI
image

@sneckey0day
Copy link
Author

I tried Same Adding Manually But didn't Worked Out !! The Offically Documentation States this :

Screenshot From 2025-01-12 21-39-17

But When Done on Terminal This Issue Came Out !!

Screenshot From 2025-01-12 21-41-56

Any Solution From Developer Side ?

@jfarl
Copy link

jfarl commented Jan 13, 2025

Update to my issue: So, these boxes will not run in a Kali VM due to nested virtualization issues.
@sneckey0day Are you attempting to run this in a Kali VM? If so, is it because the Windows installer fails?
I had failed to run this on Windows 11 because the docs are out of date and suggest using VirtualBox 7.0 or less.
VirtualBox 7.0 will not run headless on Windows 11 and breaks the build process so VirtualBox 7.1.4 is required. Vagrant also now supports the latest VirtualBox.
I created a pull request to update the Docs: #349

Windows 11 + VMWare does not work.

@sneckey0day
Copy link
Author

I was On Kali Linux as my main Host.

Before a week I installed it on same Kali Linux and it worked all good. Seems like Vartant got some update

@sneckey0day
Copy link
Author

I am not Using Windows at all my main os is Kali Linux it's not working on either Virtualbox 7.0 nor VMware 17.5.2

@jfarl
Copy link

jfarl commented Jan 13, 2025

My bad, there’s so many moving parts and software versions!

@sneckey0day
Copy link
Author

I got the Solution (Only Work for Virtualbox) , For Vmware you need to get files from Your Friend !! Here it is, So you will need to Download Files Manually and Place them As Mentioned

Download These Files For Virtualbox Provider :

Windows Server 2016 [2017.12.14]

Url : https://portal.cloud.hashicorp.com/vagrant/discover/StefanScherer/windows_2016/versions/2017.12.14

Windows Server 2016 [2019.02.14]

Url : https://portal.cloud.hashicorp.com/vagrant/discover/StefanScherer/windows_2016/versions/2019.02.14

Windows Server 2019 [2019.02.14]

Url : https://portal.cloud.hashicorp.com/vagrant/discover/StefanScherer/windows_2019/versions/2021.05.15

Extract Them Separate from each other And Delete All files Except .vmdk File From all 3 Folders.

Now Download This Zip Given Below and Extract this in your /home/<username>/.vagrant.d/boxes
boxes.zip
Replace Boxes Directory with This One.

After Done Now Place The .vmdk With Their Versions inside the boxes Directory.
Finally your /home//.vagrant.d/boxes should look like this:
Screenshot From 2025-01-13 04-49-25

Done Now Finally you can run the goad.sh Script to Install the Lab.

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

2 participants