set home directory

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-30 08:33:24 +01:00
parent e59f74f245
commit fc60a79446
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -65,7 +65,7 @@ steps:
image: nixery.dev/shell/gitfull/git-lfs/shadow
commands:
- groupadd -g 0 root
- useradd -u 0 -g root -b $HOME root
- useradd -u 0 -g root -d $HOME root
- mkdir ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519