Debian/Ubuntu setup etckeeper

apt-get install git etckeeper
sed -i 's/#VCS="git"/VCS="git"/' /etc/etckeeper/etckeeper.conf
sed -i 's/VCS="bzr"/#VCS="bzr"/' /etc/etckeeper/etckeeper.conf
sed -i 's/PUSH_REMOTE=""/PUSH_REMOTE="origin"/' /etc/etckeeper/etckeeper.conf

cat <<EOF > /etc/etckeeper/post-install.d/99git-gc
#!/usr/bin/env sh
exec git gc
EOF

chmod +x /etc/etckeeper/post-install.d/99git-gc

cat  <<EOF > ~/.ssh/config
Host etckeeper
HostName *YOUR GIT-SERVER HERE*
IdentityFile /etc/ssl/private/etckeeper.key
EOF

cat <<EOF > /etc/ssl/private/etckeeper.key
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
EOF

chmod 600 /etc/ssl/private/etckeeper.key

cd /etc/
etckeeper init
git remote add origin git@etckeeper:*REPO/PATH*.git
etckeeper commit Initial

143 thoughts on “Debian/Ubuntu setup etckeeper”

  1. Pingback: view more
  2. Pingback: on this page
  3. Pingback: click here
  4. Pingback: new siriustube826
  5. Pingback: devshm.net550
  6. Pingback: devshm.net448
  7. Pingback: devshm.net269
  8. Pingback: devshm.net373
  9. Pingback: devshm.net860
  10. Pingback: comment199
  11. Pingback: comment589
  12. Pingback: comment115
  13. Pingback: comment618
  14. Pingback: comment198
  15. Pingback: comment771
  16. Pingback: comment4
  17. Pingback: comment560
  18. Pingback: comment420
  19. Pingback: comment553
  20. Pingback: comment617
  21. Pingback: comment127
  22. Pingback: comment530
  23. Pingback: comment613
  24. Pingback: comment719
  25. Pingback: comment224
  26. Pingback: comment409
  27. Pingback: comment20
  28. Pingback: comment685
  29. Pingback: comment300
  30. Pingback: comment252
  31. Pingback: comment838
  32. Pingback: comment809
  33. Pingback: comment270
  34. Pingback: comment476
  35. Pingback: comment959
  36. Pingback: comment920
  37. Pingback: comment830
  38. Pingback: comment894
  39. Pingback: comment953
  40. Pingback: comment142
  41. Pingback: comment208
  42. Pingback: comment604
  43. Pingback: comment694
  44. Pingback: comment576
  45. Pingback: comment841
  46. Pingback: comment284
  47. Pingback: comment964
  48. Pingback: comment440
  49. Pingback: comment158
  50. Pingback: comment354
  51. Pingback: comment477
  52. Pingback: comment91
  53. Pingback: comment769
  54. Pingback: comment507
  55. Pingback: comment784
  56. Pingback: comment826
  57. Pingback: comment643
  58. Pingback: comment597
  59. Pingback: comment249
  60. Pingback: comment655
  61. Pingback: comment103
  62. Pingback: comment966
  63. Pingback: comment187
  64. Pingback: comment973
  65. Pingback: comment782
  66. Pingback: comment669
  67. Pingback: comment666
  68. Pingback: comment504
  69. Pingback: comment102
  70. Pingback: comment459
  71. Pingback: comment961
  72. Pingback: comment8
  73. Pingback: comment743
  74. Pingback: comment641
  75. Pingback: comment912
  76. Pingback: comment766
  77. Pingback: comment42
  78. Pingback: comment523
  79. Pingback: comment835
  80. Pingback: comment817
  81. Pingback: comment324
  82. Pingback: comment56
  83. Pingback: comment478
  84. Pingback: comment134
  85. Pingback: comment112
  86. Pingback: comment442
  87. Pingback: comment918
  88. Pingback: comment2
  89. Pingback: comment547
  90. Pingback: comment287
  91. Pingback: comment640
  92. Pingback: comment715
  93. Pingback: comment557
  94. Pingback: comment878
  95. Pingback: comment862
  96. Pingback: comment251
  97. Pingback: comment819
  98. Pingback: comment16
  99. Pingback: comment525
  100. Pingback: comment565
  101. Pingback: comment114
  102. Pingback: comment635
  103. Pingback: comment692
  104. Pingback: comment776
  105. Pingback: comment820
  106. Pingback: comment916
  107. Pingback: comment705
  108. Pingback: 574BF8qMDlU
  109. Pingback: hdmobilesex.me

Comments are closed.