Bootstrap an offline CentOS 7 build environment using Foreman/Puppet 4.
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...)
- Set
MIRRORPATHenvironment variable (defaults to/var/mirror). - Run
mirror-repos.shon an internet-connected Linux machine. - Set
ISONAMEenvironment variable (defaults toCentOS-7-x86_64-DVD.iso. - Run
build-cdn-iso.shto build a bootable ISO for the CDN. - Boot CDN machine using custom ISO.
- Transfer
MIRRORPATHcontent onto your CDN server. - Build Foreman server using
ks-foreman.cfgkickstart. - Run Foreman setup scripts in order.