Example improvement scripts

The following scripts are present to show the various steps to improve the built image:

These scripts are a slightly version of what is in the slides, with comments to explain the actions.

Each script expects to be run as root and must be given the name of the base directory as a commandline parameter.

Thus, to run all the scripts on the example1:

sudo /var/lib/container-example/example1
sudo /var/lib/container-example/example1
sudo /var/lib/container-example/example1

Finally, to instantiate a copy of a container:

sudo /var/lib/container-example/newhost newhostname