Go back to installing rke2 in the image

This commit is contained in:
2026-03-09 13:30:57 -04:00
parent 30ad9f9a0c
commit b29eec5b1b
4 changed files with 24 additions and 14 deletions

View File

@@ -12,7 +12,12 @@ modules:
files:
- source: rke-server
destination: /
# - type: script
# snippets:
# - curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh
- type: script
env:
INSTALL_RKE2_CHANNEL: latest
INSTALL_RKE2_TYPE: server
INSTALL_RKE2_SKIP_RELOAD: 'true'
snippets:
- curl -sfL https://get.rke2.io | sh
- cp -f /usr/share/rke2/rke2-cis-sysctl.conf /etc/sysctl.d/60-rke2-cis.conf
- from-file: common/post-build.yml