Skip to content

Commit d27ba8d

Browse files
committed
Fixup examples
1 parent 6b3efd5 commit d27ba8d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

examples/k3s-agent.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ stages:
1515
- ulimit -u unlimited
1616
- ulimit -n 900000
1717
initramfs:
18+
# Disable password, enable only ssh access
19+
- if: '[ ! -d "/home/c3os" ]'
20+
name: "Ensure home directory is present"
21+
commands:
22+
- mkdir /home/c3os
23+
- chmod 755 /home/c3os
24+
- chown -R c3os /home/c3os
1825
- name: "Setup users"
1926
# users:
2027
# root:

examples/k3s-server.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ stages:
1313
- |
1414
chmod 600 /etc/systemd/system/k3s.service.env
1515
initramfs:
16+
# Disable password, enable only ssh access
17+
- if: '[ ! -d "/home/c3os" ]'
18+
name: "Ensure home directory is present"
19+
commands:
20+
- mkdir /home/c3os
21+
- chmod 755 /home/c3os
22+
- chown -R c3os /home/c3os
1623
- name: "Setup users"
1724
# users:
1825
# root:

0 commit comments

Comments
 (0)