Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 897 Bytes

ChrootBuild.sh.md

File metadata and controls

9 lines (6 loc) · 897 Bytes

Under standard operating conditions, use of this script is done without arguments. However, if creating AMIs on a private network (that does not have access to the default, public, Internet-hosted mirrors), this script has been enhanced to allow this operation. To reference private mirrors/repos, invoke the script as follows:

${BINPATH}/ChrootBuild.sh -r ${CUSTOM_REPO_RPM} -b ${CUSTOM_REPO_NAME}

CUSTOM_REPO_RPM: This script only accepts private repos that have been provided in the form of an RPM. Use the -r flag and either a file-path or URI specification from which to install this custom repo into the chroot() environment.

CUSTOM_REPO_NAME: If any of the RPMs to be installed by this script reside in a repository that is defined in the RPM as inactive, use the -b flag to activate this bonus repository (currently, only one bonus repository may be activated)