diff --git a/install.sh b/install.sh index 4f3cdfefcdd9927c8c37737cac48e557d5b7c7f3..17ce54c33d55c2ae1e1f95066cd40d0412c1f5eb 100644 --- a/install.sh +++ b/install.sh @@ -1,21 +1,16 @@ apt install -y etckeeper git - +ssh-keyscan ssh.gitrepo.de >> ~/.ssh/known_hosts echo "VCS=\"git\" AVOID_SPECIAL_FILE_WARNING=1 PUSH_REMOTE=\"origin\"" > /etc/etckeeper/etckeeper.conf - cd /etc git init - git config --global user.name "roadit_ectkeeper" git config --global user.email "ectkeeper@roadit.de" git config --global core.editor "nano" git config --global push.default simple - git remote add origin git@ssh.gitrepo.de:roadit/etckeeper/`hostname -f`.git etckeeper commit "initial commit" - wget https://www.gitrepo.de/opensource/etckeeper_install/raw/master/logout_trap.sh -O /usr/local/share/logout_trap.sh chmod +x /usr/local/share/logout_trap.sh - echo "/usr/local/share/logout_trap.sh" >> ~/.profile