Permalink
Browse files

Moved template helper scripts to separate Git repository

  • Loading branch information...
laurivosandi committed Aug 30, 2015
1 parent 916aed9 commit 1579c23f784b2430d1a0c0bff90bbe412d63b146
Showing with 2 additions and 663 deletions.
  1. +2 −75 template/README.rst
  2. +0 −3 template/overlay/etc/butterknife/postdeploy.d/00-reset-fstab
  3. +0 −8 template/overlay/etc/butterknife/postdeploy.d/20-mount-pool
  4. +0 −12 template/overlay/etc/butterknife/postdeploy.d/21-mount-home
  5. +0 −14 template/overlay/etc/butterknife/postdeploy.d/22-mount-persistent
  6. +0 −24 template/overlay/etc/butterknife/postdeploy.d/40-puppet-persistence
  7. +0 −6 template/overlay/etc/butterknife/postdeploy.d/45-apt-archives-persistence
  8. +0 −3 template/overlay/etc/butterknife/postdeploy.d/50-reset-network-interfaces
  9. +0 −3 template/overlay/etc/butterknife/postdeploy.d/55-disable-apt
  10. +0 −14 template/overlay/etc/butterknife/postdeploy.d/80-hostname-persistence
  11. +0 −63 template/overlay/etc/butterknife/postdeploy.d/85-domain-join-persistence
  12. +0 −40 template/overlay/etc/butterknife/postdeploy.d/90-final-menu
  13. +0 −3 template/overlay/etc/butterknife/postdeploy.d/95-grub-enable-menu
  14. +0 −3 template/overlay/etc/butterknife/postdeploy.d/96-update-grub
  15. +0 −5 template/overlay/etc/butterknife/postdeploy.d/97-umount-persistent
  16. +0 −4 template/overlay/etc/butterknife/postdeploy.d/98-umount-home
  17. +0 −2 template/overlay/etc/butterknife/postdeploy.d/99-umount-pool
  18. +0 −11 template/overlay/etc/butterknife/prerelease.d/20-clean-apt
  19. +0 −3 template/overlay/etc/butterknife/prerelease.d/30-clean-ssh-keys
  20. +0 −3 template/overlay/etc/butterknife/prerelease.d/40-clean-puppet-keys
  21. +0 −4 template/overlay/etc/butterknife/prerelease.d/50-clean-temporary-files
  22. +0 −4 template/overlay/etc/butterknife/prerelease.d/60-regenerate-locales
  23. +0 −3 template/overlay/etc/butterknife/prerelease.d/70-rebuild-fontconfig-cache
  24. +0 −5 template/overlay/etc/butterknife/prerelease.d/90-dconf-update
  25. +0 −22 template/overlay/usr/bin/butterknife-change-hostname
  26. +0 −26 template/overlay/usr/bin/butterknife-create-local-user
  27. +0 −280 template/overlay/usr/bin/butterknife-join-domain
  28. +0 −14 template/overlay/usr/bin/butterknife-postdeploy
  29. +0 −6 template/overlay/usr/bin/butterknife-prerelease
@@ -1,75 +1,2 @@
Butterknife template helpers
============================

Introduction
------------

The files under overlay/ are intended to be added to a LXC container
that you're using as template for deployment.
We've put significant effort into making the post-deploy and pre-release scripts
usable for as many as possible scenarios, but improvements are very much welcome.
Currently Ubuntu 14.04 i386 and amd64 based templates with legacy GRUB are supported.

Template guidelines
-------------------

You can make most out of Butterknife if you manage to unify the software and
the configuration of the machines:

* Use centralized login from Samba4, AD, OpenLDAP etc
* Use Puppet, Salt or other configuration management tool to set up template
and to customize deployed machines.

Other nice things:

* Even if a particular software package is required by few users,
install it in the template.
* Include `NetworkManager configuration <http://lauri.vosandi.com/cfgmgmt/network-manager-system-connections.html>`_ in template
* Use Dconf to customize defaults and lock down attributes of MATE, XFCE, GNOME, etc desktops
* Reduce amount of available locales
* Instead of /etc/skel use /etc/dconf/db/blah.d/, /etc/firefox, /etc/thunderbird
* Most importantly de-duplicate work!

If you're planning to install full-blown desktop you should really pick
one of the following:

.. code:: bash
sudo apt-get install ubuntu-desktop # Unity shell
sudo apt-get install lubuntu-desktop # LXDE
sudo apt-get install kubuntu-desktop # KDE
sudo apt-get install xubuntu-desktop # XFCE
sudo apt-get install ubuntu-mate-desktop # MATE
This of course contains a lot of useless stuff if you're planning to manage the
image by yourself eg apport, update-notifier etc.

Make sure you have btrfs-tools:

.. code:: bash
apt-get install btrfs-tools
Make sure you have installed legacy GRUB:

.. code:: bash
apt-get install grub-pc
Make sure you also have up to date kernel installed, in case of 64-bit Ubuntu 14.04 or
Debian 8 *jessie*:

.. code:: bash
wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.14-vivid/linux-headers-3.18.14-031814-generic_3.18.14-031814.201505210236_amd64.deb
wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.14-vivid/linux-headers-3.18.14-031814_3.18.14-031814.201505210236_all.deb
wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.14-vivid/linux-image-3.18.14-031814-generic_3.18.14-031814.201505210236_amd64.deb
sudo dpkg -i \
linux-headers-3.18.14-031814-generic_3.18.14-031814.201505210236_amd64.deb \
linux-headers-3.18.14-031814_3.18.14-031814.201505210236_all.deb \
linux-image-3.18.14-031814-generic_3.18.14-031814.201505210236_amd64.deb
Default language can be set via /etc/default/locale.
There are countless aspects when it comes to system customization
which are out of the scope of Butterknife.
The template helper scripts were moved to a
`separate Git repository <https://github.com/laurivosandi/puppet-butterknife>`_.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 1579c23

Please sign in to comment.