GithubHelp home page GithubHelp logo

evonz-mx / packer-win10-basebox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baune8d/packer-windows-desktop

0.0 0.0 0.0 74 KB

Build a basic Windows 10 image for use with Vagrant.

License: MIT License

Batchfile 4.75% Shell 0.99% PowerShell 88.77% Ruby 5.50%

packer-win10-basebox's Introduction

Windows 10 template for Packer

Based on https://github.com/StefanScherer/packer-windows
which is forked from https://github.com/joefitzgerald/packer-windows

Prebuilt images here: https://app.vagrantup.com/baunegaard

Setup

Requires:

  • Windows 10 ISO - (Drop into ./iso folder)
  • mkisofs.exe if building Hyper-V (Drop into root folder)

To use the default settings, execute from repo root:

  • Windows: build_windows_10.bat <vm_type>
  • Linux / OSX: ./build_windows_10.sh <vm_type>

<vm_type> Can be either vmware, virtualbox or parallels.
For Generation 2 Hyper-V run build_windows_10_hyperv.bat

Information:

The following variables can be modified in the build script:

  • iso_url - Path to ISO file.
  • iso_checksum - Checksum of ISO file.
  • disk_size - Max size in MB of dynamic hard drive file.
  • switch_name - The virtual switch name. Only available in Hyper-V build script.

The result output will be a box file named: windows_10_<vm_type>.box

Newest availble guest tools will be fetched and installed for VMware and Virtualbox.
For Parallels, the guest tools of the version you are building with is installed.

Microsoft updates are enabled and all available Windows updates will be installed on setup.

The script will adjust the following settings for Vagrant compatibility:

  • WinRM service configured and started automatically.
  • 32 & 64 bit Powershell execution policy set to RemoteSigned.
  • UAC disabled.
  • RDP enabled.
  • Networks set to private.
  • Hibernation disabled.
  • Screensaver disabled.
  • Automatic logon enabled.
  • Default admin user: vagrant
  • Default admin password: vagrant

packer-win10-basebox's People

Contributors

baune8d avatar evonz-mx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.