Create systemd unit to create rke user

This commit is contained in:
Gerald Pinder
2025-05-11 13:22:52 -04:00
parent ad73e87daa
commit f25c8be0f9
4 changed files with 40 additions and 1 deletions

View File

@@ -1,7 +1,6 @@
modules:
- from-file: common/common.yml
- type: dnf
# source: local
repos:
cleanup: true
files:
@@ -27,10 +26,16 @@ modules:
- type: script
snippets:
- curl -sfL https://get.rke2.io | sh
- sed -i 's|#includedir /etc/sudoers.d|includedir /etc/sudoers.d|' /etc/sudoers
- type: files
files:
- source: rke_setup
destination: /
- type: systemd
system:
enabled:
- docker.service
- create_rke_user.service
- from-file: common/updates.yml
- from-file: common/bluebuild-logo.yml
- from-file: common/jp-chezmoi.yml