Skip to content

Commit

Permalink
modifiying nixos image to approved ssh init
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterNashaat committed May 13, 2024
1 parent a2ff56c commit d2f2b7a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tfgrid3/nixos/microvm/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ssh-keygen -A

# add user key to authorized_keys
mkdir -p /root/.ssh
echo $SSH_KEY >> /root/.ssh/authorized_keys
if [ ! -f "/nix/store" ]; then
NIX_VERSION=2.3.14
mkdir -p -m 0755 /nix && USER=root sh nix-${NIX_VERSION}-$(uname -m)-linux/install
Expand Down

0 comments on commit d2f2b7a

Please sign in to comment.