many-nightfall-61858
09/18/2023, 11:36 PMinstall.sh
errors with a method conflict when RPMs are downloaded, but we need the images and the other settings in install.sh, such as fapolicyd
rules.creamy-pencil-82913
09/18/2023, 11:39 PMmany-nightfall-61858
09/18/2023, 11:42 PMcreamy-pencil-82913
09/18/2023, 11:46 PMmany-nightfall-61858
09/18/2023, 11:46 PMcheck_method
conflict, and doing
rke2_rpm_version=$(echo "${INSTALL_RKE2_VERSION}" | sed -E -e "s/[\+-]/~/g" | sed -E -e "s/v(.*)/\1/")
yum install -y rke2-server-${rke2_rpm_version}~rke2r1-0.el8.x86_64
this seems like the wrong way we should be doing thingscreamy-pencil-82913
09/18/2023, 11:47 PMmany-nightfall-61858
09/18/2023, 11:47 PMINSTALL_RKE2_ARTIFACT_PATH=/root/rke2-artifacts sh install.sh
creamy-pencil-82913
09/18/2023, 11:50 PMINSTALL_RKE2_METHOD=rpm INSTALL_RKE2_VERSION=v1.25.12+rke2r1 INSTALL_RKE2_ARTIFACT_PATH=/where/you/put/stuff
although that might not work exactly right, I’m not sure that handles the RPM stuff correctly.many-nightfall-61858
09/18/2023, 11:53 PMcreamy-pencil-82913
09/18/2023, 11:56 PMmany-nightfall-61858
09/18/2023, 11:56 PMINSTALL_RKE2_METHOD=rpm INSTALL_RKE2_VERSION=v1.25.12+rke2r1 INSTALL_RKE2_ARTIFACT_PATH=/where/you/put/stuff,
but it wont handle the rpms in air gapped unfortunately, because they’re pointing to the upstream rke2 yum repo: https://github.com/rancher/rke2/blob/master/install.sh#L537is that it? you just need the fapolicy rules, and the tarballs copied over?I think so? not sure what else the installer does that we might need. if we dont need it, then we can copy paste the fapolicyd stuff
creamy-pencil-82913
09/19/2023, 12:05 AM