Packer

Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel.

Sample pillar

Basic linux distros

packer:
  build:
    system:
      ubuntu:
        source:
          engine: git
          address: https://github.com/boxcutter/ubuntu.git
          revision: master
        template:
          ubuntu1404-salt:
            file: ubuntu1404.json
            provisioner: salt
            builders:
            - vmware
            - virtualbox
          ubuntu1504-desktop-salt:
            file: ubuntu1504-desktop.json
            provisioner: salt
            builders:
            - vmware
            - virtualbox

Usage

Openstack image prepare guide

  • Install cloud-init - add epel - package epel-centos 6, yum cloud-init
  • Set network to DHCP
  • /etc/udev.rules/70netrules - remove MAC address records

Documentation and Bugs

To learn how to install and update salt-formulas, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate issue tracker. Use Github issue tracker for specific salt formula:

For feature requests, bug reports or blueprints affecting entire ecosystem, use Launchpad salt-formulas project:

You can also join salt-formulas-users team and subscribe to mailing list:

Developers wishing to work on the salt-formulas projects should always base their work on master branch and submit pull request against specific formula.

Any questions or feedback is always welcome so feel free to join our IRC channel:

#salt-formulas @ irc.freenode.net