From fe0164e0663b40d73551ae4b85b24a023d678525 Mon Sep 17 00:00:00 2001 From: yeti Date: Tue, 13 May 2025 12:18:16 +0100 Subject: [PATCH] feat(buildah): get rsa keys of the host for strict checking --- build-workspace.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-workspace.sh b/build-workspace.sh index b04323f..af32e3e 100755 --- a/build-workspace.sh +++ b/build-workspace.sh @@ -27,7 +27,9 @@ buildah copy "$ctr" 00-allow-git.conf /etc/ssh/ssh_config.d/ buildah run --user $DEV_USER "$ctr" -- bash -c "\ nvim --headless \"+Lazy! sync\" +qa && sleep 1 && \ nvim --headless \"+Lazy! sync\" +qa && sleep 1 && \ - nvim --headless \"+Lazy! sync\" +qa + nvim --headless \"+Lazy! sync\" +qa && \ + mkdir -p $DEV_HOME/.ssh && ssh-keyscan -p 2222 10.88.0.1 >> ~/.ssh/known_hosts && \ + ssh-keyscan -p 22 github.com >> ~/.ssh/known_hosts " # lock the files