From 4fe7a0906e243662a6843523461c1b0702437071 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 16 May 2023 13:05:09 +0000 Subject: [PATCH] ci: set shell (bash) for the user --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index feeae2e..a4f337b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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