This commit is contained in:
j3d1 2022-04-21 18:06:09 +02:00
parent 6941f08369
commit 0e283e1d35

View file

@ -161,14 +161,14 @@ function second_stage(){
echo second_stage done echo second_stage done
export -f user_install export -f user_install
su jedi -l -c "bash -c user_install" su jedi -c "bash -c user_install"
} }
function user_install(){ function user_install(){
set -e set -e
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i/home/jedi/.ssh/id_rsa"
#dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'" #dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'"
#echo $? #echo $?
@ -179,7 +179,9 @@ function user_install(){
#dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'" #dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'"
#echo $? #echo $?
rsync -a /root/unbox_data/secrets/SSH/ .ssh/ cd
rsync -a /root/unbox_data/secrets/SSH/ /home/jedi/.ssh/
ssh git@git.neulandlabor.de -p 2222 || true ssh git@git.neulandlabor.de -p 2222 || true