This commit is contained in:
j3d1 2022-04-21 12:35:01 +02:00
parent 8274ebbf93
commit 30317b7ce3

View file

@ -158,10 +158,11 @@ function second_stage(){
chown -R jedi:jedi $HOME chown -R jedi:jedi $HOME
chsh --shell /usr/bin/zsh jedi chsh --shell /usr/bin/zsh jedi
echo second_stage done
export -f user_install export -f user_install
su jedi -c "bash -c user_install" su jedi -c "bash -c user_install"
echo second_stage done
} }
function user_install(){ function user_install(){
@ -180,7 +181,7 @@ function user_install(){
rsync -a /root/unbox_data/secrets/SSH/ .ssh/ rsync -a /root/unbox_data/secrets/SSH/ .ssh/
ssh git@git.neulandlabor.de -p 2222 ssh git@git.neulandlabor.de -p 2222 || true
git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools
echo $? echo $?