isabella232 / packer-maas

Packer templates to create MAAS deployable images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:Python 94.0%Language:Shell 5.6%Language:Makefile 0.3%