Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 2.35 KB

README.rst

File metadata and controls

85 lines (61 loc) · 2.35 KB

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

Read more

Documentation and Bugs

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

http://salt-formulas.readthedocs.io/

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:

https://github.com/salt-formulas/salt-formula-packer/issues

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

https://launchpad.net/salt-formulas

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

https://launchpad.net/~salt-formulas-users

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

https://github.com/salt-formulas/salt-formula-packer

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

#salt-formulas @ irc.freenode.net