Difference between revisions of "COSI Linux Build"
m (Ubuntu Lab Build moved to COSI Linux Build: To distinguish between the ITL Linux Build and the COSI Linux Build)
Revision as of 20:47, 21 October 2008
This summarizes how to the Ubuntu Lab Build is maintained.
Currently we are running a Ubuntu 7.10, which was installed on a single machine, and then ghosted to the rest of the lab. Before ghosting a system was put in place to keep lab machines in sync with the ever changing requirements and recommendations of lab users. Using this system we can easily roll out changes to the lab build.
Currently the machine hadoop.cslabs.clarkson.edu exports an nfs share that is mounted by all computers in the lab. It is read only (unless you are the root user on hadoop) and is located at /sharedro on all machines. This document will make reference to scripts and files in this directory, feel free to take a look from any lab machine. If you felt so inclined you could even request an account on hadoop so that you could make changes too these files.
How machines stay in sync
Ubuntu runs the script /etc/rc.local (/sharedro/other/rc.local) during the final stages of the booting sequence. This is the a great starting point for exploring /sharedro.
Some of the things this script does:
* Runs a pre-network script (/sharedro/scripts/boot.sh) * Resets networking (/sharedro/scripts/sethostname.sh) using a list of MAC addresses (/sharedro/other/macs) * Runs a post-networking script (/sharedro/scripts/boot-post-network.sh) * Updates crontab to run (/sharedro/scripts/five-minute.sh) every five minutes
Thanks to the update to cron that occurred during boot, the following script is run every five minutes: /sharedro/scripts/five-minute.sh
Lab build configurations
Upon the request of Christopher B.Williams, the pcspkr module is removed to avoid the annoyance by pressing backspace an extra time. The module lies in /lib/modules/2.6.22-14-generic/kernel/drivers/input/misc/pcspkr.ko
#sudo modprobe -r pcspkr