Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

How to build Ubuntu images

You can build and deploy your own customized Ubuntu images using Packer.

Canonical maintains a central repository of templates and instructions that cover Ubuntu and many other operating systems:

Packer MAAS templates on GitHub

The README in that repository explains:

  • How to install Packer and dependencies
  • Hardware requirements
  • How to build images for Ubuntu and non-Ubuntu systems
  • How to upload and test images in MAAS
  • Debugging tips and project structure for contributing

If you only need Ubuntu images, start in the ubuntu/ directory of the repository.
That folder provides a ready-made template and Makefile for building Ubuntu images.

For more background, see:

Last updated 14 hours ago. Help improve this document in the forum.