Skip to content

awanio/packer-maas-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

  • A machine running Ubuntu 18.04+ with the ability to run KVM virtual machines.
  • qemu-utils
  • Packer
  • The Windows installation ISO must be downloaded manually and placed it into files folder. You can download it here.
  • Windows Curtin Hook and placed it into files folder.
  • cloudbase-init and placed it into files folder

Requirements (to deploy the image)

  • MAAS 3.2.0 or above

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

About

Packer templates to create MAAS Windows images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published