awanio / packer-maas-windows

Packer templates to create MAAS Windows images
Apache License 2.0
8 stars 3 forks source link

Packer MAAS Windows

Packer templates, associated scripts, and configuration for creating deployable Windows images for MAAS.

Template and scripts in this repo mostly credited to these repos:

Prerequisites (to create the images)

Requirements (to deploy the image)

Building an image

Run this following packer command to build the image:

sudo PACKER_LOG=1 packer build windows.json

Uploading an image to MAAS

maas $PROFILE boot-resources \
create name=windows/win2019 \
title='Windows Server 2019 Standard' \
architecture=amd64/generic \
filetype=ddtgz \
content@=windows-2019/standard.tar.gz