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

@@ -25,10 +25,6 @@ modules:
- cryptsetup - cryptsetup
- device-mapper - device-mapper
- fuse - fuse
# - type: script
# snippets:
# - curl -sfL https://get.rke2.io | sh
# - cp -f /usr/share/rke2/rke2-cis-sysctl.conf /etc/sysctl.d/60-rke2-cis.conf
- type: files - type: files
files: files:
- source: rke-common - source: rke-common

View File

@@ -21,8 +21,12 @@ modules:
# install: # install:
# packages: # packages:
# - ramalama # - ramalama
# - type: script - type: script
# snippets: env:
# # - curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh INSTALL_RKE2_CHANNEL: latest
# - curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh 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 - from-file: common/post-build.yml

View File

@@ -12,7 +12,12 @@ modules:
files: files:
- source: rke-server - source: rke-server
destination: / destination: /
# - type: script - type: script
# snippets: env:
# - curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh 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 - from-file: common/post-build.yml

View File

@@ -8,7 +8,12 @@ alt-tags:
- worker - worker
modules: modules:
- from-file: common/wke.yml - from-file: common/wke.yml
# - type: script - type: script
# snippets: env:
# - curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh INSTALL_RKE2_CHANNEL: latest
INSTALL_RKE2_TYPE: agent
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 - from-file: common/post-build.yml