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

Cannot download BASE_BOX #2

Closed
icassina opened this issue Mar 23, 2017 · 5 comments
Closed

Cannot download BASE_BOX #2

icassina opened this issue Mar 23, 2017 · 5 comments

Comments

@icassina
Copy link

icassina commented Mar 23, 2017

In Vagrantfile I see:

$BASE_BOX = "windows2012r2min-wmf5-virtualbox"

But a vagrant up dc01 shows:

==> dc01: Adding box 'windows2012r2min-wmf5-virtualbox' (v0) for provider: virtualbox dc01: Downloading: windows2012r2min-wmf5-virtualbox An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

How can I obtain this base box? or should I use another name so vagrant will actually know about it?

Thank you!

@dbroeglin
Copy link
Owner

dbroeglin commented Mar 24, 2017

I cannot publish those images as it would most probably be a violation of the Windows EULA. However, you can easily build an image by using the following project:
https://github.com/dbroeglin/packer-templates

and entering this command (after installing packer):

packer build -force -only virtualbox-iso vbox-2012r2-wmf5.json

For detailed explanations about how the project works you can read @mwrock 's blog posts: http://www.hurryupandwait.io/blog/creating-a-windows-server-2016-vagrant-box-with-chef-and-packer

If you want the lab to work with the final image you will need some of my changes:
mwrock/packer-templates@master...dbroeglin:master
especially keeping Windows Features in the base box.

However, some might annoy you like
dbroeglin/packer-templates@5146a13 which changes the keyboard to Swiss-French layout ;-)

You can customise those to your own preferences.

Please don't hesitate to contact me if you need more help!

@dbroeglin
Copy link
Owner

FYI, I added a bit of documentation at the bottom of the README: https://github.com/dbroeglin/windows-lab

@icassina
Copy link
Author

icassina commented Mar 29, 2017

Thank you very much!

As the README is now complete, i would personally consider this issue to be fixed.

@dbroeglin
Copy link
Owner

@icassina were you able to make the build work ? Please feel free to give me some feedback about any issue you might have encountered. I created this lab as an exercise for my own learning. It might not be easily reusable for somebody else. I would be happy to improve it though!

@icassina
Copy link
Author

I used a published 2012r2 box with "wmf5" preinstalled and it worked fine, but I imagine others might struggle with it in the future for the same reason.
I just needed an environnment to test windows SSO (so I never tested IIS nor NetScaler) and I got it thanks to you! … at least until the base box I'm using will expire, then I'll have to use packer anyway. I'll let you know how it went when I try.

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