Skip to content

Commit

Permalink
add skip fapolicy option
Browse files Browse the repository at this point in the history
  • Loading branch information
stratusjerry authored and brandond committed Sep 26, 2023
1 parent efede7c commit 65833ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ fi
# If set, the install script will skip reloading systemctl daemon after the tar has been extracted and systemd units
# have been moved.
# Default is not set.
#
# - INSTALL_RKE2_SKIP_FAPOLICY
# If set, the install script will skip adding fapolicy rules
# Default is not set.


# info logs the given argument at info log level.
Expand Down Expand Up @@ -655,7 +659,9 @@ do_install() {
do_install_tar "${INSTALL_RKE2_CHANNEL}"
;;
esac
setup_fapolicy_rules
if [ -z "${INSTALL_RKE2_SKIP_FAPOLICY}" ]; then
setup_fapolicy_rules
fi
}

do_install
Expand Down

0 comments on commit 65833ca

Please sign in to comment.