summaryrefslogtreecommitdiffstats
path: root/functions
Commit message (Collapse)AuthorAgeFilesLines
* setup_base now does more grub command-line hackery to make multipathMartin Schwenke2008-09-191-369/+0
| | | | | | | | | work on the nodes even if the kickstart template has it switched off. Remove separate functions file and insert the contents into the main autocluster script, since that is the only place it is used. Gratuitous whitespace cleanups. :-) Signed-off-by: Martin Schwenke <martin@meltin.net>
* New option WITH_SOFS_GUI can be set to 0 to avoid installation of theMartin Schwenke2008-09-181-1/+2
| | | | | | | | GUI packages. New option EXTRA_KERNEL_OPTIONS can be used to pass extra options to the kernel when booting nodes. Removed unneeded comments from config.default. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Move the forced network configuration from postinstall.sh to aMartin Schwenke2008-09-171-0/+4
| | | | | | | | | | | | | separate template that only gets included in the kickstart templates. Take openldap-devel and -scsi-target-utils out of EXTRA_PACKAGES - you can't change a previous selection. setup_base needs to call setup_indirects, since postinstall.sh needs YUM_REPOS. Add a 2nd network interface to install.xml (and bootbase.xml), so we can keep the 2nd network interface specified in the kickstart template. Fix some stuff in the kickstart templates, comment out some things that don't work, add AUTOCLUSTER_POSTINSTALL. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New base script template /root/scripts/postinstall.sh replacesMartin Schwenke2008-09-171-1/+7
| | | | | | | | | | | | | | | | /root/postinstall.sh. This has also been removed from the 1.5 kickstart template and gets substituted in via new config option KICKSTART_TEMPLATE, which should be set to /dev/null if none of the fancy kickstart post-install magic is required. chkconfig and start of ntpd moved to setup_samba.sh. Also added chkconfig for ctdb there. Added to default value of EXTRA_PACKAGES: openldap-devel, -scsi-target-utils, -xorg-x11-drivers, -xorg-x11-server-Xorg. New yum repo templates: SoFS-1.5.1.repo, SoFS-1.6.repo, SoFS-daily.repo. Updated SoFS-1.5.repo to use SoFS-1.5-Stable and removed SoFS-daily from it. made kickstart-1.5.cfg as consistent as possible with the official SoFS version... and duplicated it to kickstart-1.5.1.cfg. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Usage message now goes to stdout to enable easier use with grep. NewMartin Schwenke2008-08-251-5/+5
| | | | | | | | | | configuration variable $QEMU_NBD (required on Ubuntu since their KVM package renames the binary to kvm-nbd). vircmd no longer needs config.default - will now accept a cluster name and work out the node names as before, or will accept a glob-style wildcard to specify nodes. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Configuration generalised so that all options can be set viaMartin Schwenke2008-08-151-1/+159
| | | | | | | | | | | | | | | | | | | | | | | | environment variables, in configuration files or on the command-line. Changed format of config.default to use defconf rather than assignment, and include documentation for usage message. All configuration variables now have an equivalent command-line option. For example, $NBD_DEVICE can be set on the command-line using the --nbd-device option. Options specified on the command-line override options set in any other way. New configuration option $WITH_TSM_NODE (defaults to 1). Removed -n option - this is implicitly replaced by --with-tsm-node=0. The -c option can now be specified multiple times and interspersed with setting individual options - order is important. New option --dump displays the current configuration settings and then exits. It can be inserted anywhere on the command-line and takes immediate effect, so it should be at the end of the command-line to display all specified settings. Configuration settings can also be set in autocluster's environment, where they override the settings in config.default (but not those specified on the command-line, including via -c). Error trapping moved to after usage processing, so an invalid command-line option causes the desired usage message to appear. Signed-off-by: Martin Schwenke <martin@meltin.net>
* use divider=10 to lower impact on hostAndrew Tridgell2008-08-101-0/+2
|
* one more ...Andrew Tridgell2008-08-081-1/+1
|
* fixed spelling (thanks Martin!)Andrew Tridgell2008-08-081-3/+3
|
* auto-add users ssh keys to nodesAndrew Tridgell2008-07-241-0/+8
|
* fixed permissions on /rootAndrew Tridgell2008-07-231-1/+1
|
* try to be more friendly to buggy nbd codeAndrew Tridgell2008-07-231-0/+2
|
* try to fix ssh key permissions (again)Andrew Tridgell2008-07-231-0/+2
|
* fixed nbd deviceAndrew Tridgell2008-07-161-7/+8
|
* fixed case of hostsAndrew Tridgell2008-07-161-1/+1
|
* cleanup sed fileAndrew Tridgell2008-07-151-0/+1
|
* fixed the null sub problemAndrew Tridgell2008-07-151-5/+5
|
* auto-create hosts fileAndrew Tridgell2008-07-151-1/+1
|
* allow install in $PATHAndrew Tridgell2008-07-151-1/+1
|
* handle null varsAndrew Tridgell2008-07-151-2/+2
|
* switch TSM server back to sdb - multipath was too messyAndrew Tridgell2008-07-121-6/+19
|
* added testproxyAndrew Tridgell2008-07-111-10/+15
| | | | attempt to allow running from another directory
* switched to a single autostart scriptAndrew Tridgell2008-07-111-3/+0
|
* fixes from testing with svenAndrew Tridgell2008-07-111-8/+13
|
* fixed ssh permsAndrew Tridgell2008-07-101-0/+1
|
* fixed MAC addressesAndrew Tridgell2008-07-101-6/+19
|
* fixed ownership of dirs in baseAndrew Tridgell2008-07-101-6/+9
|
* allow setting of install serverAndrew Tridgell2008-07-101-5/+9
|
* nicer way of handling yum reposAndrew Tridgell2008-07-101-1/+18
|
* we must sync before umountAndrew Tridgell2008-07-101-0/+1
|
* fix space handling in substitutionAndrew Tridgell2008-07-101-1/+0
|
* - setup some alternate reposroot2008-07-101-20/+28
| | | | - added some comments
* moved to template based configurationroot2008-07-101-58/+59
|
* create /root/SOFSAndrew Tridgell2008-07-081-0/+1
|
* faster consolesAndrew Tridgell2008-07-071-1/+1
|
* added NFS mount from hostAndrew Tridgell2008-07-071-0/+5
|
* minor fixesAndrew Tridgell2008-07-071-1/+1
|
* make more things configurableAndrew Tridgell2008-07-071-0/+7
|
* make it possible to have more than 1 cluster on a machineAndrew Tridgell2008-07-071-15/+16
|
* Merge branch 'master' of ↵Andrew Tridgell2008-07-071-0/+1
|\ | | | | | | git+ssh://tridge@git.samba.org/data/git/tridge/autocluster
| * fixed perms on id_rsaAndrew Tridgell2008-07-071-0/+1
| |
* | allow config of IP baseAndrew Tridgell2008-07-071-13/+13
|/
* fixed permissions on ssh keysAndrew Tridgell2008-07-071-0/+1
|
* initial versionAndrew Tridgell2008-07-061-0/+101