Addressing review comments and adding a note to also set INSTALL_REPOS to true to enable copr repo

This commit is contained in:
Ben Erickson
2025-01-29 10:24:48 -08:00
parent 8e4bbcf8e4
commit 0ef03683b3
3 changed files with 6 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ ACME_EMAIL="${ACME_EMAIL:-""}"
ACME_CA="${ACME_CA:-"letsencrypt/production"}"
USESUDO="${USESUDO:-"false"}"
GENSUDO="${GENSUDO:-"false"}"
INSTALL_EL_LIBVHDI="${INSTALL_EL_LIBVHDI:-"false"}"
INSTALL_REPOS="${INSTALL_REPOS:-"true"}"
SYSLOG_TARGET="${SYSLOG_TARGET:-""}"
YARN_CACHE_CLEANUP="${YARN_CACHE_CLEANUP:-"false"}"
@@ -250,9 +251,9 @@ function InstallDependenciesRPM {
printprog "Installing libvhdi-tools"
if [[ "$INSTALL_REPOS" == "true" ]] && [[ "$INSTALL_EL_LIBVHDI" == "true" ]]; then
runcmd "dnf copr enable -y bnerickson/libvhdi"
else
runcmd "dnf install -y libvhdi-tools"
fi
runcmd "dnf install -y libvhdi-tools"
printok "Installing libvhdi-tools"
fi