File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ stages:
15
15
- ulimit -u unlimited
16
16
- ulimit -n 900000
17
17
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
18
25
- name : " Setup users"
19
26
# users:
20
27
# root:
Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ stages:
13
13
- |
14
14
chmod 600 /etc/systemd/system/k3s.service.env
15
15
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
16
23
- name : " Setup users"
17
24
# users:
18
25
# root:
You can’t perform that action at this time.
0 commit comments