DrCord
DrCord

Reputation: 3955

Vagrant Windows 7 Virtual Box interface inaccesible

I have been setting up virtual boxes for testing and development for our team. Creating the Virtualbox Windows 7 Internet Explorer 8 instance went fine. When I tried to package it into a Vagrant .box file and re-instantiate it as a server is where I have experienced issues.

After some research regarding the Windows vb never fully starting I found a Vagrant plugin that allows it to work with most versions of Windows: https://github.com/WinRb/vagrant-windows

After completing the plugin install and configuration the Windows vb will start completely but sits at the login screen indefinitely, without any GUI window to interface with only the VB window. see screenshot: https://i.sstatic.net/sm0LH.png

Upvotes: 0

Views: 1678

Answers (2)

Terry Wang
Terry Wang

Reputation: 13920

It was stuck at the Windows login screen. If you start the VM in headless mode (default used by Vagrant), you'll have to configure automatical log on for Windows, refer to => http://technet.microsoft.com/en-us/magazine/ee872306.aspx

Otherwise, as you already know, you can use the vbox gui and login from the console;-)

Upvotes: 0

DrCord
DrCord

Reputation: 3955

Add this to your Vagrantfile

config.vm.provider :virtualbox do |vb|
   vb.gui = true
end

Upvotes: 3

Related Questions