added workstation fixes
[fai-configs.git] / scripts / IKIWIKI / 10-ikiwiki.sh
index 82942a123084aedef2da32803fe325c9ed2b10b2..bfd538754c246ae86c275fb1ec6d142901bb6aaa 100755 (executable)
@@ -3,7 +3,15 @@
 # add a ikiwiki user account
 if ! $ROOTCMD getent passwd ikiwki ; then
     $ROOTCMD adduser --system --ingroup www-data --disabled-password --gecos "ikiwiki user" ikiwiki
+fi
 
 if ! $ROOTCMD test -e /home/ikiwiki/.ssh/id_rsa; then
     $ROOTCMD echo | $ROOTCMD sudo -u ikiwiki ssh-keygen -N ''
 fi
+
+# Configure for remote use 
+fcopy /home/ikiwiki/.ssh/config
+
+# Configure git
+$ROOTCMD git config --global user.name "WebUI"
+$ROOMCMD git config --global user.email "ikiwiki@gluestick.office.fsf.org"