Skip to content

Commit

Permalink
Fixup examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Aug 1, 2021
1 parent 6b3efd5 commit d27ba8d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/k3s-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ stages:
- ulimit -u unlimited
- ulimit -n 900000
initramfs:
# Disable password, enable only ssh access
- if: '[ ! -d "/home/c3os" ]'
name: "Ensure home directory is present"
commands:
- mkdir /home/c3os
- chmod 755 /home/c3os
- chown -R c3os /home/c3os
- name: "Setup users"
# users:
# root:
Expand Down
7 changes: 7 additions & 0 deletions examples/k3s-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ stages:
- |
chmod 600 /etc/systemd/system/k3s.service.env
initramfs:
# Disable password, enable only ssh access
- if: '[ ! -d "/home/c3os" ]'
name: "Ensure home directory is present"
commands:
- mkdir /home/c3os
- chmod 755 /home/c3os
- chown -R c3os /home/c3os
- name: "Setup users"
# users:
# root:
Expand Down

0 comments on commit d27ba8d

Please sign in to comment.