Skip to content

Packer templates to create MAAS deployable images

License

Notifications You must be signed in to change notification settings

soramitsukhmer/packer-maas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer MAAS

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

See README.md in each directory for documentation on how to customize, build, and upload images.

Output

All templates are configured to output to serial. Packer does not officially support serial output(GH:9927). To see output run with PACKER_LOG=1.

If you wish to use a GUI modify each template as follows:

  • Remove any boot_command line that contains "console" or "com1_Port"
  • Remove ""-serial", "stdio"" from qemuargs. qemuargs may be removed as well if empty.

If you wish to use QEMU's UI also remove "headless": true

If you keep "headless": true you can connect using VNC. Packer will output the IP and port to connect to when run.

Git Submodules

Packer MAAS uses git submodules to retrieve required resource files during image building. Packer MAAS and all submodules can be cloned at once with:

$ git clone --recurse-submodules git@github.com:canonical/packer-maas.git

If Packer MAAS has already been checked out submodules can be retrieved with

$ git submodule init
$ git submodule update

About

Packer templates to create MAAS deployable images

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.1%
  • Shell 5.6%
  • Makefile 0.3%