Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running Ubuntu and I want to setup a VM in Virtualbox via Vagrant and Chef. I think what I'm missing is a .box for the Windows Server 2008 R2 x64 trial I have.

Does anyone know where I could find a .box? If not, how would I go about building a Vagrant .box for Windows Server 2008?

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted

I recently had to build a Vagrant .box for Windows Server 2008 R2 using Chef provisioning. I blogged about my experiences here. As Henk mentioned, you'll first need to create the basebox using a veewee template. I recommend using the windows-2008R2-serverstandard-amd64-winrm template.

share|improve this answer
    
Right. But instead of veewee, I would use Packer (packer.io) these days. –  Henk Oct 26 '13 at 15:31
add comment

Distributing a .box with Windows would be illegal. Public / free boxes however can be found on the site Vagrantbox.es

You could try and build your own box with veewee. The author of veewee shows in this video how he built a Windows7 box: veewee does windows7, so Windows Server 2k8 might be possible too, since there are templates available from within veewee:

# veewee templates
... snip ...
vagrant basebox define '<boxname>' 'windows-2008R1-serverstandard-amd64'
vagrant basebox define '<boxname>' 'windows-2008R2-amd64'
vagrant basebox define '<boxname>' 'windows-2008R2-serverstandard-amd64'

You'll also need a W2k8 DVD or ISO-image of course.

share|improve this answer
    
Would (re)distributing a box based on an evaluation version (such as the ones offered by Microsoft at Modern.IE) also be illegal? –  Redsandro Apr 23 at 23:27
add comment

In this git repository you find many vagrant configs and documentation. there some windows machines, too. i didn't test these, yet - but i was told they are working (and the linux configs are working for sure). if you try these it would be great if you could give a little feedback. i may need them in the future, too ;)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.