Giter Site home page Giter Site logo

dcappellin / packer-windows-desktop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baune8d/packer-windows-desktop

0.0 0.0 0.0 109 KB

Build a basic Windows desktop image for use with Vagrant.

License: MIT License

Shell 0.66% Ruby 10.85% PowerShell 87.85% Batchfile 0.64%

packer-windows-desktop's Introduction

Windows (10 / 11) Desktop Templates For Packer

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

Prebuilt images can be found here: https://app.vagrantup.com/baunegaard

This repository aims at creating Windows desktop boxes with a minimum of changes.
It will only change what is necessary for vagrant and packer to properly work.

Setup

Requires:

  • Windows 10 / 11 ISO - See instructions here

To use the default settings, execute from repo root:

  • Windows: .\build_windows_<windows_version>.bat <vm_type>
  • Linux / OSX: ./build_windows_<windows_version>.sh <vm_type>

<vm_type> Can be either vmware, virtualbox, parallels or hyperv.

NOTE parallels is currently not available for Windows 11. It will come later.

Information:

Settings can be modified in the windows_<windows_version>.json files.
Shared variables can be found at the bottom of the file.

NOTE if you want to validate a checksum against your iso, change iso_checksum to match your iso file, e.g. sha256:E239FF...

The result output will be a box file named: windows_<windows_version>_<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-windows-desktop's People

Contributors

baune8d 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.