Skip to content

Packer Templates for creating Ubuntu Live Server Images with Packer + QEMU + Autoinstall (cloud-init)

License

Notifications You must be signed in to change notification settings

thepappas/packer-ubuntu-server-uefi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-ubuntu-server-uefi

Templates for creating Ubuntu Live Server Images with Packer + QEMU + Autoinstall (cloud-init)

Currently Supported Images:

Name Version
Focal Fossa 20.04.6
Jammy Jellyfish 22.04.2

An accompanying blogpost is available here

Usage

Use GNU-Make to perform validation / build images:

Validation

To validate cloud-init and ubuntu.pkr.hcl template perform

make validate

To simply validate cloud-init

make validate-cloudinit

To simply validate ubuntu.pkr.hcl template (against both focal and jammy)

make validate-packer

Build Images

to build Ubuntu 20.04 (Focal) image

make build-focal

to build Ubuntu 22.04 (Jammy) image

make build-jammy

UEFI BootLoader Sequence Determination

see the late-commands in the user-data file. This is determined by installing efibootmgr on the live image and performing sudo efibootmgr. This lists what are the sequences and when should the image be booted.

About

Packer Templates for creating Ubuntu Live Server Images with Packer + QEMU + Autoinstall (cloud-init)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 75.1%
  • Makefile 20.3%
  • Dockerfile 4.6%