set home directory
This commit is contained in:
parent
e59f74f245
commit
fc60a79446
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ steps:
|
||||||
image: nixery.dev/shell/gitfull/git-lfs/shadow
|
image: nixery.dev/shell/gitfull/git-lfs/shadow
|
||||||
commands:
|
commands:
|
||||||
- groupadd -g 0 root
|
- groupadd -g 0 root
|
||||||
- useradd -u 0 -g root -b $HOME root
|
- useradd -u 0 -g root -d $HOME root
|
||||||
- mkdir ~/.ssh
|
- mkdir ~/.ssh
|
||||||
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
|
|
Reference in a new issue