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
MIRRORPATH
environment variable (defaults to/var/mirror
). - Run
mirror-repos.sh
on an internet-connected Linux machine. - Set
ISONAME
environment variable (defaults toCentOS-7-x86_64-DVD.iso
. - Run
build-cdn-iso.sh
to build a bootable ISO for the CDN. - Boot CDN machine using custom ISO.
- Transfer
MIRRORPATH
content onto your CDN server. - Build Foreman server using
ks-foreman.cfg
kickstart. - Run Foreman setup scripts in order.