Skip to content

Bootstrap an offline build environment using Foreman/Puppet

License

Notifications You must be signed in to change notification settings

shearn89/infra-bootstrap

Repository files navigation

infra-bootstrap

Bootstrap an offline CentOS 7 build environment using Foreman/Puppet 4.

What it does

This repo helps users set up an offline build environment. It's intended to allow you to be able to provision hosts in a short amount of time (not including mirror repo time, that could take hours depending on your internet connection...)

How to use it

  1. Set MIRRORPATH environment variable (defaults to /var/mirror).
  2. Run mirror-repos.sh on an internet-connected Linux machine.
  3. Set ISONAME environment variable (defaults to CentOS-7-x86_64-DVD.iso.
  4. Run build-cdn-iso.sh to build a bootable ISO for the CDN.
  5. Boot CDN machine using custom ISO.
  6. Transfer MIRRORPATH content onto your CDN server.
  7. Build Foreman server using ks-foreman.cfg kickstart.
  8. Run Foreman setup scripts in order.

About

Bootstrap an offline build environment using Foreman/Puppet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages