1
0
Fork 0

ci: set shell (bash) for the user

master
dump_stack() 2023-05-16 13:05:09 +00:00
parent 22ddada2f7
commit 4fe7a0906e
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ jobs:
ssh root@$IP "curl -L https://nixos.org/nix/install | sh -s -- --daemon"
ssh root@$IP "echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf"
ssh root@$IP "useradd user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user"
ssh root@$IP "useradd --shell /bin/bash user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user"
echo 'name = "out-of-tree script"' >> .out-of-tree.toml
echo 'type = "script"' >> .out-of-tree.toml