You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.0 KiB

12 years ago
12 years ago
12 years ago
12 years ago
  1. #!/bin/bash
  2. set -eux # -x for verbose logging to juju debug-log
  3. apt-get update
  4. apt-get -y install bash-completion wget bzip2 git-core less language-pack-en python-software-properties tmux sudo git
  5. apt-get -y install mountall ## nasty nfs bug corrected
  6. ##
  7. ## Allows to mount nfs shares
  8. ##
  9. apt-get -y install nfs-common
  10. ##
  11. ## etckeeper
  12. ##
  13. apt-get install etckeeper
  14. sed -i 's/#VCS="git"/VCS="git"/g' /etc/etckeeper/etckeeper.conf
  15. sed -i 's/VCS="bzr"/#VCS="bzr"/g' /etc/etckeeper/etckeeper.conf
  16. etckeeper init
  17. ##
  18. ## Git utilities
  19. ##
  20. echo "[alias]
  21. co = checkout
  22. com = commit
  23. st = status
  24. ci = commit
  25. " >> /etc/gitconfig
  26. ##
  27. ## Git utilities
  28. ##
  29. echo "[alias]
  30. co = checkout
  31. com = commit
  32. st = status
  33. ci = commit
  34. [color]
  35. branch = auto
  36. diff = auto
  37. interactive = auto
  38. status = auto
  39. " >> /etc/gitconfig
  40. ##
  41. ## ldap client
  42. ##
  43. ##
  44. ## kal-scripts
  45. ##
  46. cat <<EOF >> /etc/apt/sources.list
  47. ## vlab's shell libraries
  48. deb http://deb.kalysto.org no-dist kal-alpha kal-beta kal-main
  49. EOF