Build a Base Image
axiom-build
Example Usage
# axiom-build defaultUsage
# axiom-build -h
โโโโโโ โโโ โโโ โโโโโโโ โโโ โโโโโโโโโ โโโโโโโ
โโโโโโโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโ โโโโโโโโ
โโโโโโโโ โโโโโโ โโโโโโโโโโโ โโโโโโโโโ โโโ โโโ
โโโโโโโโ โโโโโโ โโโโโโโโโโโ โโโโโโโโโ โโโ โโโ
โโโ โโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ โโโโโโ โโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโโโโ
Maintainer: 0xtavian
๐ซ๐ช๐ผ๐ฒ๐ฌ๐ช๐ต๐ต๐, ๐ช๐๐ฒ๐ธ๐ถ: ๐ฝ๐ฑ๐ฎ ๐ญ๐๐ท๐ช๐ถ๐ฒ๐ฌ ๐ฒ๐ท๐ฏ๐ป๐ช๐ผ๐ฝ๐ป๐พ๐ฌ๐ฝ๐พ๐ป๐ฎ ๐ฏ๐ป๐ช๐ถ๐ฎ๐๐ธ๐ป๐ด ๐ฏ๐ธ๐ป ๐ฎ๐ฟ๐ฎ๐ป๐๐ซ๐ธ๐ญ๐! - @๐น๐ป๐0๐ฌ๐ฌ @0๐๐ฝ๐ช๐ฟ๐ฒ๐ช๐ท
Description:
axiom-build supports both legacy Packer JSON files as well as the new HCL format
axiom-build combines a cloud provider's Builder (~/.axiom/images/$format/builders) with a Provisioner (~/.axiom/images/$format/provisioners)
to generate the final Packer file (~/.axiom/images/$format/axiom.$format)
Using Packer, axiom-build creates an image with the tools pre-installed, as defined by the chosen Provisioner
Choose between multiple Provisioners (barebones, default, reconftw, and extras) or bring your own (custom)
axiom-build adds your SSH key to the image, allowing you to connect to instances created using the image
By default, it creates and uses an SSH key located at ~/.ssh/axiom_ssh.pub, but you can specify a custom SSH key if needed
Examples:
axiom-build --run # Kick off the interactive build wizard
axiom-build default # Build a new Packer image using the Default Provisioner
axiom-build barebones --debug # Build a new Packer image using the Barebones Provisioner, run with --debug
axiom-build --ssh-key ~/.ssh/id_rsa.pub # Set a custom SSH key (default is SSH key in ~/.ssh/axiom_ssh.pub)
Usage:
<provisioner> (optional)
Name of provisioner to build, options are barebones, default, reconftw, extras or custom (provisioner must be located in ~/.axiom/images/$format/provisioners)
--run (optional)
Start axiom-build setup wizard
--legacy (optional)
Use legacy Packer JSON Builder and Provisioner instead of pkr.hcl
--ssh-key <file to pub key> (optional)
Build the image using a custom SSH key (instead of using the default ssh key axiom creates ~/.ssh/axiom_ssh.pub)
--debug (optional)
Enable debug mode (VERY VERBOSE!)
--help (optional)
Display this help menu
Provisoners
Custom Images
Last updated