Skip to content

kadimi/wagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GOAL

To streamline the process of creating virtual machines using the vagrant boxes provided by Microsoft.

SETUP

  1. Clone the repository, feel free to use the name you want for the destination folder, for example:

    git clone https://github.com/kadimi/wagrant my-win81-ie11
  2. Run one of these commands to create the box you want:

    vagrant up                                   # Windows 7 with IE11 (default)
    box_name='msedge.win10.vagrant' vagrant up   # Windows 10 with MSEdge
    box_name='ie11.win81.vagrant' vagrant up     # Windows 8.1 with IE11
    box_name='ie10.win8.vagrant' vagrant up      # Windows 8 with IE10
    box_name='ie11.win7.vagrant' vagrant up      # Windows 7 with IE11
    box_name='ie10.win7.vagrant' vagrant up      # Windows 7 with IE10
    box_name='ie9.win7.vagrant' vagrant up       # Windows 7 with IE9
    box_name='ie8.win7.vagrant' vagrant up       # Windows 7 with IE8
    box_name='ie7.vista.vagrant' vagrant up      # Windows Vista with IE7
    box_name='ie8.xp.vagrant' vagrant up         # Windows XP with IE8
    box_name='ie6.xp.vagrant' vagrant up         # Windows XP with IE6
  3. In the windows machine (the newly created guest), run this command in a command prompt (aka cmd.exe) with elevated privileges. Once the set of commands completes, provisioning will be initaited:

    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://is.gd/wagrant'))"

NOTES

  • Some apps are installed during provisioning, you can change that to your liking, see ps/Install-Apps.ps1.
  • You don't need to provide the box_name variable every time, that's only needed with the first vagrant up.
  • The command vagrant rdp may fail, this can be fixed by deleting the line with the faulty fingerprint in ~/.config/freerdp/known-hosts.

RESOURCES

Releases

No releases published

Packages

No packages published