Project

General

Profile

« Previous | Next » 

Revision bf03a259

Added by Pat Riehecky about 1 month ago

Fixes #36525 - kickstart's RHSM line only works on RHEL hosts

View differences:

app/views/unattended/provisioning_templates/snippet/pkg_manager.erb
in the PKG_MANAGER env variable so it can be used in templates like this:
$PKG_MANAGER install -y pkg1 pkg2
-%>
if [ -f /etc/os-release ] ; then
. /etc/os-release
fi

Also available in: Unified diff