Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 835 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 835 Bytes

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.