update images

This commit is contained in:
nyxerinys 2026-06-29 12:16:21 -05:00
parent efa0f5204f
commit e3f92b0a2b
3 changed files with 8 additions and 2 deletions

View file

@ -5,7 +5,7 @@ let
Host="$1"
LFolder="$2"
RFolder="$3"
SSHCMD="ssh -o \"StrictHostKeyChecking=no,UserKnownHostsFile=/dev/nul\" -q -S /tmp/sshfs.sock"
SSHCMD="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -q -S /tmp/sshfs.sock"
TmuxName="rsshfs"
# SETUP
@ -76,7 +76,7 @@ let
echo "[ Reverse port opened on $PORT ]"
echo "[ Pushing local $LFolder to the remote $RFolder ]"
$SSHCMD null "if [[ ! -d $RFolder ]]; then mkdir -p $RFolder; fi"
$SSHCMD null "sshfs -o \"StrictHostKeyChecking=no,UserKnownHostsFile=/dev/null\" -p $PORT localhost:$LFolder $RFolder"
$SSHCMD null "sshfs -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $PORT localhost:$LFolder $RFolder"
pause
@ -135,6 +135,7 @@ pkgs.dockerTools.buildLayeredImage {
fakeRootCommands = ''
mkdir -p ./etc
mkdir -p ./tmp
chmod 777 ./tmp
cat <<EOF > ./etc/passwd
root:x:0:0:root:/root:/bin/sh