项目作者: kadimi

项目描述 :
Easier Modern IE vagrant boxes
高级语言: PowerShell
项目地址: git://github.com/kadimi/wagrant.git
创建时间: 2016-05-24T23:17:06Z
项目社区:https://github.com/kadimi/wagrant

开源协议:

下载


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:

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

    1. vagrant up # Windows 7 with IE11 (default)
    2. box_name='msedge.win10.vagrant' vagrant up # Windows 10 with MSEdge
    3. box_name='ie11.win81.vagrant' vagrant up # Windows 8.1 with IE11
    4. box_name='ie10.win8.vagrant' vagrant up # Windows 8 with IE10
    5. box_name='ie11.win7.vagrant' vagrant up # Windows 7 with IE11
    6. box_name='ie10.win7.vagrant' vagrant up # Windows 7 with IE10
    7. box_name='ie9.win7.vagrant' vagrant up # Windows 7 with IE9
    8. box_name='ie8.win7.vagrant' vagrant up # Windows 7 with IE8
    9. box_name='ie7.vista.vagrant' vagrant up # Windows Vista with IE7
    10. box_name='ie8.xp.vagrant' vagrant up # Windows XP with IE8
    11. 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.aspx). Once the set of commands completes, provisioning will be initaited:

    1. @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