Slow vagrant up on Windows guest

54 views
Skip to first unread message

Thomas Messier

unread,
Oct 17, 2016, 8:33:28 PM10/17/16
to Vagrant
I'm getting started using vagrant and am testing things. I'm using a Windows 2012 R2 box based on evaluation provided by Microsoft (mwrock/Windows2012R2). My versatile doesn't do anything special beyond forwarding remote desktop port and assigning static ip on private network. When I do vagrant up, it seems rather slow (I realize the first vagrant up is slow because it downloads the base box, I mean every time after that). Everything I read seems to indicate that it should take 25-30 seconds, but in my case it takes about 2.5 minutes. Anything that can be done to speed that up? Or is that actually a normal bout time for a Windows guest. Am unsure because most cases I read about deal with Linux guests.

I'm running Mac OS Sierra on a MacBook Pro with a 2.2Ghz core i7 with 16GB of RAM.

Alvaro Miranda Aguilera

unread,
Oct 18, 2016, 4:08:45 AM10/18/16
to vagra...@googlegroups.com
Hello,

What you can do is repackage the VM after some changes.

If you edit the services and move most of them from start to deferred/delayed  start will help to boot it faster.



On Tue, Oct 18, 2016 at 2:33 AM, Thomas Messier <thomas....@gmail.com> wrote:
I'm getting started using vagrant and am testing things. I'm using a Windows 2012 R2 box based on evaluation provided by Microsoft (mwrock/Windows2012R2). My versatile doesn't do anything special beyond forwarding remote desktop port and assigning static ip on private network. When I do vagrant up, it seems rather slow (I realize the first vagrant up is slow because it downloads the base box, I mean every time after that). Everything I read seems to indicate that it should take 25-30 seconds, but in my case it takes about 2.5 minutes. Anything that can be done to speed that up? Or is that actually a normal bout time for a Windows guest. Am unsure because most cases I read about deal with Linux guests.

I'm running Mac OS Sierra on a MacBook Pro with a 2.2Ghz core i7 with 16GB of RAM.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a6c52a58-3731-4f1e-b589-052fa9fe52cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Thomas Messier

unread,
Oct 19, 2016, 9:27:21 AM10/19/16
to Vagrant
Thanks for the quick reply! I will give that a try. So I have the right expectation though, in your experience, what should I be looking for in a best case scenario? Should I aspire to 30 seconds or under, or does it typically take longer than that with Windows guests?


On Tuesday, October 18, 2016 at 4:08:45 AM UTC-4, Alvaro Miranda Aguilera wrote:
Hello,

What you can do is repackage the VM after some changes.

If you edit the services and move most of them from start to deferred/delayed  start will help to boot it faster.


On Tue, Oct 18, 2016 at 2:33 AM, Thomas Messier <thomas....@gmail.com> wrote:
I'm getting started using vagrant and am testing things. I'm using a Windows 2012 R2 box based on evaluation provided by Microsoft (mwrock/Windows2012R2). My versatile doesn't do anything special beyond forwarding remote desktop port and assigning static ip on private network. When I do vagrant up, it seems rather slow (I realize the first vagrant up is slow because it downloads the base box, I mean every time after that). Everything I read seems to indicate that it should take 25-30 seconds, but in my case it takes about 2.5 minutes. Anything that can be done to speed that up? Or is that actually a normal bout time for a Windows guest. Am unsure because most cases I read about deal with Linux guests.

I'm running Mac OS Sierra on a MacBook Pro with a 2.2Ghz core i7 with 16GB of RAM.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages