File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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:
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments