Share

oneSIS

File Release Notes and Changelog

Release Name: oneSIS-2.0

Notes:
Node Properties
---------------
  -- Properties can now be defined and used in linkbacks and other directives:
  -- can be defined by nodes, ranges/regexp of nodes, or node classes
  -- For example:
       PROPERTY dell -r node[1-128]
       PROPERTY hp -r node[129-256]
       SERVICE dell_monitoring -p dell
       SERVICE hp_monitoring -p hp
       LINKBACK /etc/fstab PROPERTY
  -- Since a single node may have more than one property and there can only
     be one linkback for a given file, PROPERTY linkbacks are chosen based
     on alphanumeric precedence.

Utilities
---------
  -- Added myprops script -- Prints the property name(s) of a node.  The first
     propery name listed will be the one used for LINKBACKs.
     -- contributed by Marcus Epperson <mrepper@sandia.gov>
  -- mk-diskful: Added --exec option
  -- mk-initramfs-oneSIS: Added dhcp_if (-di) and dhcp_retries (-dr) options
  -- Complete overhaul of the pwr and consl commands.  These commands now call
     the same engine to build commands based on node specifications.  This
     opens the door for any node command to be created in a similar way.
  -- mk-initramfs: Fixed initrd auto-sizing.
  -- copy-rootfs: Always grab /dev from remote node.
  -- sync-node: Added --reverse to sync back to the master image

Configuration
-------------
  -- Changed syntax for forced linkbacks.  (Use -f instead of '*')
     Will deprecate '*' syntax in a future release.
  -- Added ETH_PRELOAD directive for loading an ethernet driver early on.
     This allows standalone nodes to use MAC_ADDR directives and still be able
     to use stock initrds supplied by the distribution.
  -- Add -sp flag to DISTRO to be able to skip the distro patch

Bootstrap
---------
  -- Updated busybox to version 1.9.0
  -- Deprecated mk-initrd-oneSIS in favor of mk-initramfs-oneSIS
     -- old initrd style can still be generated with --initrd option
  -- Addes support to deal w/ pxelinux.0 "ipappend 3" option to bypass dhcp
     from the ramfs
     -- contributed by Chris Maestas <christopher.maestas@hp.com>
  -- Added DHCP_INTERFACE and DHCP_RETRIES to initramfs.conf
  -- Added NFS_RETRIES option to initramfs.conf
  -- Added ethtool to ramfs
  -- Added lspci to ramfs
  -- Copy modprobe.conf to the ramfs images to allow module parameters to be
     specified for any module

Distro patches
--------------
  -- Suse 10.1 patch -- contributed by Rene Salmon <rsalmon@tulane.edu>
  -- More support for debian/ubuntu
  -- Redhat EL AS5 -- contributed by Robin Humble <rjh+onesis@cita.utoronto.ca>
  -- Better Gentoo support
     -- contributed by Volkmar Glauche <volkmar.glauche@uniklinik-freiburg.de>


Changes: ------------------------------------------------------------------------ r411 | jjengla | 2008-07-10 10:17:12 -0700 (Thu, 10 Jul 2008) | 3 lines Suse 10.1 patch -- contributed by Rene Salmon ------------------------------------------------------------------------ r410 | jjengla | 2008-07-10 10:05:44 -0700 (Thu, 10 Jul 2008) | 3 lines Verbosity for dryrun ------------------------------------------------------------------------ r409 | cashmont | 2008-07-10 07:32:21 -0700 (Thu, 10 Jul 2008) | 3 lines add myprops to packaging -cdm ------------------------------------------------------------------------ r408 | mr_ep | 2008-07-09 09:00:40 -0700 (Wed, 09 Jul 2008) | 3 lines A script that prints the property name(s) of a node. the first propery name listed will be the one used for LINKBACKs. ------------------------------------------------------------------------ r407 | jjengla | 2008-07-08 16:43:56 -0700 (Tue, 08 Jul 2008) | 3 lines removed some cruft ------------------------------------------------------------------------ r406 | jjengla | 2008-07-08 16:42:28 -0700 (Tue, 08 Jul 2008) | 3 lines version bump ------------------------------------------------------------------------ r405 | jjengla | 2008-07-08 16:17:49 -0700 (Tue, 08 Jul 2008) | 3 lines Added NFS_RETRIES option ------------------------------------------------------------------------ r404 | jjengla | 2008-07-07 17:05:23 -0700 (Mon, 07 Jul 2008) | 3 lines Version bump ------------------------------------------------------------------------ r403 | jjengla | 2008-07-07 17:00:38 -0700 (Mon, 07 Jul 2008) | 3 lines Changes some doc references and man page install dir ------------------------------------------------------------------------ r402 | jjengla | 2008-06-27 16:49:24 -0700 (Fri, 27 Jun 2008) | 3 lines Reworked the manual a little bit ------------------------------------------------------------------------ r401 | mr_ep | 2008-06-05 14:41:17 -0700 (Thu, 05 Jun 2008) | 3 lines made parents_of('default') return an empty array (rather than undef), just like it would for any other top-level class. this was causing an error when invoking the pwr command with a class nodespec. ------------------------------------------------------------------------ r400 | jjengla | 2008-05-30 14:16:54 -0700 (Fri, 30 May 2008) | 4 lines Added --exec option Fixed problem with grub-install hanging when /tmp is not writable. ------------------------------------------------------------------------ r399 | rminnich | 2008-05-26 09:44:27 -0700 (Mon, 26 May 2008) | 1 line ------------------------------------------------------------------------ r398 | jjengla | 2008-05-23 08:57:27 -0700 (Fri, 23 May 2008) | 2 lines Ignore possible svn-commit.tmp files when making ramfs .stat file ------------------------------------------------------------------------ r397 | rminnich | 2008-05-22 20:44:35 -0700 (Thu, 22 May 2008) | 2 lines Tihs bug has driven me nuts forever, a bogus file name in .stat ------------------------------------------------------------------------ r396 | rminnich | 2008-05-22 20:43:18 -0700 (Thu, 22 May 2008) | 5 lines OK, this works and builds working xcpu2 initrd's for lguest. Testing on real systems starts next week. ------------------------------------------------------------------------ r395 | rminnich | 2008-05-22 20:23:49 -0700 (Thu, 22 May 2008) | 2 lines tweaks to makefile. ------------------------------------------------------------------------ r394 | rminnich | 2008-05-22 20:12:00 -0700 (Thu, 22 May 2008) | 2 lines catching up to the working version. I lost some bits due to svn hell. ------------------------------------------------------------------------ r393 | rminnich | 2008-05-22 19:51:22 -0700 (Thu, 22 May 2008) | 2 lines The big one: set up xcpu-templates. ------------------------------------------------------------------------ r392 | rminnich | 2008-05-22 19:45:51 -0700 (Thu, 22 May 2008) | 2 lines xcpu templates directory. I am doing it this way to preserve svn history ------------------------------------------------------------------------ r391 | rminnich | 2008-05-22 19:44:39 -0700 (Thu, 22 May 2008) | 3 lines Add script for creating xcpu initrd files. ------------------------------------------------------------------------ r390 | rminnich | 2008-05-22 19:43:10 -0700 (Thu, 22 May 2008) | 2 lines testing ------------------------------------------------------------------------ r389 | jjengla | 2008-05-14 11:05:37 -0700 (Wed, 14 May 2008) | 3 lines Allow globbing of EXCLUDESYNC directives ------------------------------------------------------------------------ r388 | jjengla | 2008-05-06 16:32:51 -0700 (Tue, 06 May 2008) | 4 lines Don't allow forcing a property-based linkback. Doc updates ------------------------------------------------------------------------ r387 | jjengla | 2008-05-06 15:35:28 -0700 (Tue, 06 May 2008) | 10 lines Allow linkbacks based on property, ie: LINKBACK /etc/fstab PROPERTY Since a single node may have more than one property and there can only be one linkback for a given file, I made it so that property-based linkbacks are chosen based on alphanumeric precedence. Documentation and tests to come. ------------------------------------------------------------------------ r386 | jjengla | 2008-05-06 10:42:35 -0700 (Tue, 06 May 2008) | 3 lines More support for debian/ubuntu ------------------------------------------------------------------------ r385 | jjengla | 2008-05-06 10:29:14 -0700 (Tue, 06 May 2008) | 4 lines Use consistent syntax for forced linkbacks. (Use -f instead of '*') Will deprecate '*' after some time. ------------------------------------------------------------------------ r384 | cashmont | 2008-04-08 16:24:33 -0700 (Tue, 08 Apr 2008) | 4 lines add /var/cache as an option rearrange order of files to be alphabetical -cdm ------------------------------------------------------------------------ r383 | cashmont | 2008-04-08 08:09:30 -0700 (Tue, 08 Apr 2008) | 4 lines split with expanded whitespace for hosts files that use more than space. -cdm ------------------------------------------------------------------------ r382 | jjengla | 2008-03-20 15:18:31 -0700 (Thu, 20 Mar 2008) | 3 lines Fix allowing init=<program> to be run from kernel cmdline in initramfs. ------------------------------------------------------------------------ r381 | cashmont | 2008-03-04 20:29:53 -0800 (Tue, 04 Mar 2008) | 3 lines Complain about hostname if we are using udhcpc like method only -cdm ------------------------------------------------------------------------ r380 | jjengla | 2008-03-04 10:20:45 -0800 (Tue, 04 Mar 2008) | 3 lines Added ifrename to ramfs ------------------------------------------------------------------------ r379 | jjengla | 2008-03-04 09:54:35 -0800 (Tue, 04 Mar 2008) | 5 lines Removed /media mount point. The oneSIS-{root,boot} directories are set up at install time in /mnt and stuff fails when they don't exist in /media. I don't know what the need is here. Removed call to oneSIS::mk_dev_links() -- that function got deprecated. ------------------------------------------------------------------------ r378 | jjengla | 2008-03-04 09:51:02 -0800 (Tue, 04 Mar 2008) | 3 lines Add an option to myclass to just print the hostname. Will probably never use it again. :) ------------------------------------------------------------------------ r377 | jjengla | 2008-03-03 17:34:01 -0800 (Mon, 03 Mar 2008) | 3 lines Added ETH_PRELOAD directive. This loads an ethernet driver early on so that MAC_ADDR directives can be processed for a given host. This allows standalone nodes to use MAC_ADDR directives and still be able to use stock initrds supplied by the distribution. ------------------------------------------------------------------------ r376 | cashmont | 2008-02-29 16:51:32 -0800 (Fri, 29 Feb 2008) | 4 lines fix a silly mistake i made (close after you open!) -cdm ------------------------------------------------------------------------ r375 | cashmont | 2008-02-29 16:43:49 -0800 (Fri, 29 Feb 2008) | 7 lines add a sleep if using ipappend option ... so server can catchup ... don't know why it's needed, but it helps. Added another block to try and set a hostname from a hosts file. ------------------------------------------------------------------------ r374 | cashmont | 2008-02-28 22:07:59 -0800 (Thu, 28 Feb 2008) | 39 lines Add support to deal w/ pxelinux.0 "ipappend 3" option that bypass udhcpc needs. There are a couple of catches 1) hostname is not being set here, so that will have to be set later 2) As JE pointed out, the rootpath will have to be passed in the pxelinux.cfg file now --- ?\239?\191?\189Running /init oneSIS: Setting IP address: IP oneSIS: Setting default route: GATEWAY oneSIS: Warning! DHCP offered no hostname. oneSIS: Entering ramfs root --- Also asked udhcpc to release it's lease if it doesn't need it anymore. This could probably be configurable. We've seen problems where the dhcp server gets confused w/ lease information not being properly released, and hope this should fix it. --- ?\239?\191?\189Running /init Attempting DHCP on eth0 ... udhcpc (v1.9.0) started Sending discover... Sending discover... Sending discover... Sending select for IP... Received DHCP NAK Sending discover... Sending select for IP... Lease of IP obtained, lease time 86400 Unicasting a release of IP to DHCPSERVER_IP Sending release... Entering released state oneSIS: Setting IP address: IP oneSIS: Setting default route: ROUTE_IP oneSIS: Setting hostname: HOSTNAME oneSIS: Entering ramfs root --- -cdm ------------------------------------------------------------------------ r373 | jjengla | 2008-02-28 09:55:09 -0800 (Thu, 28 Feb 2008) | 3 lines Changed 'rsync -an' to 'rsync -anv' ------------------------------------------------------------------------ r372 | cashmont | 2008-02-26 10:33:47 -0800 (Tue, 26 Feb 2008) | 3 lines only do the df of /ram ... otherwise it will hang if you have a hung mount (nfs, lustre, panasas) -cdm ------------------------------------------------------------------------ r371 | jjengla | 2008-02-13 11:49:23 -0800 (Wed, 13 Feb 2008) | 3 lines Adding ethtool to ramfs ------------------------------------------------------------------------ r370 | jjengla | 2008-02-07 15:23:38 -0800 (Thu, 07 Feb 2008) | 3 lines Removed several calls to log() in order to correctly capture exit status ------------------------------------------------------------------------ r369 | jjengla | 2008-02-07 15:20:16 -0800 (Thu, 07 Feb 2008) | 3 lines -- re-ordered some output ------------------------------------------------------------------------ r368 | jjengla | 2008-02-07 14:39:46 -0800 (Thu, 07 Feb 2008) | 5 lines -- Copy all eth* modules from modprobe.conf to the ramfs image -- Copy modprobe.conf itself to the ramfs images to allow module parameters to be specified for any module -- Added some verbosity in the printouts ------------------------------------------------------------------------ r367 | jjengla | 2008-02-04 11:40:33 -0800 (Mon, 04 Feb 2008) | 4 lines bug in mk-sysimage -- Corner case bug not looking in $basedir when patching a distro ------------------------------------------------------------------------ r366 | jjengla | 2008-01-30 13:49:19 -0800 (Wed, 30 Jan 2008) | 3 lines Added Ubuntu support ------------------------------------------------------------------------ r365 | jjengla | 2008-01-29 16:21:52 -0800 (Tue, 29 Jan 2008) | 3 lines Compress the PCI IDs database to save space ------------------------------------------------------------------------ r364 | cashmont | 2008-01-29 16:21:50 -0800 (Tue, 29 Jan 2008) | 3 lines add /etc/adjtime since things like to write to it on shutdown -cdm ------------------------------------------------------------------------ r363 | randy_scott | 2008-01-29 16:11:21 -0800 (Tue, 29 Jan 2008) | 4 lines Minor syntax fixes to get manual to compile cleanly. ------------------------------------------------------------------------ r362 | jjengla | 2008-01-29 15:47:51 -0800 (Tue, 29 Jan 2008) | 3 lines Stoopid stats file ------------------------------------------------------------------------ r361 | jjengla | 2008-01-29 15:43:12 -0800 (Tue, 29 Jan 2008) | 3 lines Added lspci to ramfs ------------------------------------------------------------------------ r360 | jjengla | 2008-01-29 15:26:30 -0800 (Tue, 29 Jan 2008) | 3 lines Added lspci to ramfs ------------------------------------------------------------------------ r359 | jjengla | 2008-01-29 14:12:09 -0800 (Tue, 29 Jan 2008) | 7 lines -- Added ability to give properties to ranges or regexps of nodes -- Added ranges and regexps to oneSIS::modifier object -- Could use to limit *any* directive by range/regexp -- Updated sysimage.conf.sample and sysimage.conf.empty with PROPERTY stuff -- Updated property stuff in manual ------------------------------------------------------------------------ r358 | jjengla | 2008-01-29 11:07:23 -0800 (Tue, 29 Jan 2008) | 8 lines -- Added code for DHCP_INTERFACE and DHCP_RETRIES in ramfs -- Added DHCP_INTERFACE and DHCP_RETRIES to initramfs.conf -- Added dhcp_if (-di) and dhcp_retries (-dr) options to mk-initramfs-oneSIS -- Cleaned up some error reporting in the ramfs -- Updated documentation for mk-initramfs.conf -- Added empty mdev.conf to ramfs ------------------------------------------------------------------------ r357 | jjengla | 2008-01-28 15:48:41 -0800 (Mon, 28 Jan 2008) | 3 lines Updated busybox to version 1.9.0 ------------------------------------------------------------------------ r356 | jjengla | 2008-01-24 13:14:44 -0800 (Thu, 24 Jan 2008) | 3 lines Updated initramfs stats ------------------------------------------------------------------------ r355 | cashmont | 2008-01-22 15:37:00 -0800 (Tue, 22 Jan 2008) | 3 lines use media directory as opposed to /mnt if it exists ... the wave of rhel3 > -cdm ------------------------------------------------------------------------ r354 | cashmont | 2008-01-15 14:39:00 -0800 (Tue, 15 Jan 2008) | 3 lines basically copy nfs stuff to ram ... since if you want an nfs server you need to have it writeable ... for all the stuff it likes to do in this dir -cdm ------------------------------------------------------------------------ r353 | cashmont | 2008-01-14 10:58:44 -0800 (Mon, 14 Jan 2008) | 3 lines Add the mirror-image helper script that has been used previously to help mirror images -cdm ------------------------------------------------------------------------ r352 | cashmont | 2008-01-12 15:15:57 -0800 (Sat, 12 Jan 2008) | 4 lines add a sleep delay after partitioning disks so that /dev can be refreshed. This is only with cciss like devices that I've seen to date. ------------------------------------------------------------------------ r351 | cashmont | 2007-12-21 14:27:30 -0800 (Fri, 21 Dec 2007) | 3 lines add /var/lib/ntp as a LINKDIR (not replicated) to allow ntp to mess w/ drift filez. -cdm ------------------------------------------------------------------------ r350 | jjengla | 2007-12-19 09:42:49 -0800 (Wed, 19 Dec 2007) | 3 lines initramfs permissions fix ------------------------------------------------------------------------ r349 | jjengla | 2007-12-18 15:45:01 -0800 (Tue, 18 Dec 2007) | 3 lines Updated uClibc libs and busybox. ------------------------------------------------------------------------ r348 | jjengla | 2007-10-17 15:31:22 -0700 (Wed, 17 Oct 2007) | 3 lines Overdue manual update ------------------------------------------------------------------------ r347 | jjengla | 2007-10-11 03:07:24 -0700 (Thu, 11 Oct 2007) | 3 lines Added log function and now log all startup commands to a file in case the user is unable to attach to a console during boot. ------------------------------------------------------------------------ r346 | jjengla | 2007-10-04 10:15:48 -0700 (Thu, 04 Oct 2007) | 3 lines Reintroduced (tested) code for setting default ramdisk size. ------------------------------------------------------------------------ r345 | jjengla | 2007-10-04 09:05:22 -0700 (Thu, 04 Oct 2007) | 3 lines Delete broken code from cashmont *ahem* ------------------------------------------------------------------------ r344 | jjengla | 2007-09-27 14:26:23 -0700 (Thu, 27 Sep 2007) | 3 lines Make sure *all* includes are installed. ------------------------------------------------------------------------ r343 | jjengla | 2007-09-27 14:16:40 -0700 (Thu, 27 Sep 2007) | 3 lines Moved rhel4 and rhel5 files under includes dir. ------------------------------------------------------------------------ r342 | cashmont | 2007-09-26 09:01:46 -0700 (Wed, 26 Sep 2007) | 5 lines In order to work the oneSIS way, we need to have rc.sysinit look at an empoty or non-existent /etc/twtab. This file is what is used for stateless configuration for Redhat/CentOS/Whitebox/Fedora. -cdm ------------------------------------------------------------------------ r341 | cashmont | 2007-09-25 11:55:23 -0700 (Tue, 25 Sep 2007) | 9 lines * by default make ramdisk the tmpfs default (50% of phys mem possible). * only update that may need more work is the one for update-node this compares ramdisk sizes and while I put in some logic for default config, I think the conf_ramsize stuff can be re-worked * rhel5 does not need /var/lib/random-seed workaround, rc.sysinit handles it -cdm ------------------------------------------------------------------------ r340 | cashmont | 2007-09-25 11:44:34 -0700 (Tue, 25 Sep 2007) | 11 lines * minor comments for rhel4 include * initial attempt at rhel5 configuration. * there may be some more work to try and work w/ the stateless project that is already in rhel5 and fc 7. * rather than ram like trees, thing seem to be managed via mounts (-n --bind) for write and non-writeable areas [sounds very familiar to cplant :-) ] -cdm ------------------------------------------------------------------------ r339 | cashmont | 2007-09-21 15:51:46 -0700 (Fri, 21 Sep 2007) | 3 lines don't mess w/ patches if we aren't supposed to when reverting -cdm ------------------------------------------------------------------------ r338 | cashmont | 2007-09-21 15:40:12 -0700 (Fri, 21 Sep 2007) | 5 lines * take advantage of -sp feature for DISTRO options * clarify comments a little further * no need to worry about /.autofsck, oneSIS does that already ------------------------------------------------------------------------ r337 | jjengla | 2007-09-21 15:07:35 -0700 (Fri, 21 Sep 2007) | 3 lines Add a flag to DISTRO to be able to skip the distro patch. ------------------------------------------------------------------------ r336 | cashmont | 2007-09-21 13:14:22 -0700 (Fri, 21 Sep 2007) | 4 lines some more comments and notes on how rhel4 can operate without any distro patches -cdm ------------------------------------------------------------------------ r335 | cashmont | 2007-09-21 13:00:56 -0700 (Fri, 21 Sep 2007) | 5 lines Adjust makefile to install sysimage.conf.* into /etc/oneSIS to be used as include like files. Created a sample rhel4 base sysimage.conf that seems to work fro most things on a generic image. -cdm ------------------------------------------------------------------------ r334 | cashmont | 2007-09-13 15:13:46 -0700 (Thu, 13 Sep 2007) | 9 lines * when cp'ing the dist force the copy * add support for debian builds * added /etc/oneSIS/initramfs.conf to debian configuration * make deb * make svndeb -cdm ------------------------------------------------------------------------ r333 | cashmont | 2007-09-13 14:03:57 -0700 (Thu, 13 Sep 2007) | 19 lines * cleanup of documentation in mk-initramfs-oneSIS * remove tools/build-onesis-rpm.sh since making a more generic build script * redo make file for dist, srpm and rpm builds * leverage tools/build-onesis.sh * can now do: * make dist * make svndist * make srpm * make svnsrpm * make rpm * make svnrpm * will get debian packages to build in the framework as well * fix ramfs-tarball dependency when building packages * make ramfs-tarball requires root privledges ... maybe just checkin tgz instead in the future? -cdm ------------------------------------------------------------------------ r332 | cashmont | 2007-08-07 14:38:16 -0700 (Tue, 07 Aug 2007) | 12 lines remove bin data from eps files to ensure make docs works again [make rpm needs lots of work and would rather switch to the tools script] :-) added make svnrpm tag to not take over make rpm edited oneSIS.spec to be built using helper script, basically change Relase field to RELEASE to sed out add tools dir add a helper rpm script to build rpms from the repo, based on how rpms are built for another project ------------------------------------------------------------------------ r331 | jjengla | 2007-06-19 12:36:39 -0700 (Tue, 19 Jun 2007) | 3 lines initramfs workage! ------------------------------------------------------------------------ r330 | jjengla | 2007-06-19 09:08:14 -0700 (Tue, 19 Jun 2007) | 4 lines Kill the right dhcp client in the initrd ------------------------------------------------------------------------ r329 | jjengla | 2007-06-19 08:25:27 -0700 (Tue, 19 Jun 2007) | 3 lines Redhat EL AS5 patch contributed by Robin Humble <rjh+onesis@cita.utoronto.ca> ------------------------------------------------------------------------ r328 | jjengla | 2007-05-10 12:40:45 -0700 (Thu, 10 May 2007) | 3 lines Argument bug (two -b options) ------------------------------------------------------------------------ r327 | jjengla | 2007-04-23 09:54:15 -0700 (Mon, 23 Apr 2007) | 3 lines Label swap partitions. (from volkmar.glauche@uniklinik-freiburg.de) ------------------------------------------------------------------------ r326 | jjengla | 2007-04-04 12:00:22 -0700 (Wed, 04 Apr 2007) | 3 lines Don't mirror properties when not necessary ------------------------------------------------------------------------ r325 | jjengla | 2007-03-15 10:44:35 -0700 (Thu, 15 Mar 2007) | 3 lines Make all nodes part of the 'default' class by default. ------------------------------------------------------------------------ r324 | jjengla | 2007-02-19 12:17:18 -0800 (Mon, 19 Feb 2007) | 19 lines Contributed by Volkmar Glauche <volkmar.glauche@uniklinik-freiburg.de> Makefile: - version bump (necessary to force update on Gentoo) onesis.ebuild: - use file taken from current Gentoo portage tree gentoo.patch: - empty file, currently no patching necessary mk-sysimage: Gentoo specific changes (see Gentoo documentation on diskless clients at http://www.gentoo.org/doc/en/diskless-howto.xml) - instead of removing /etc/hostname, modify /etc/conf.d/hostname - do not set any HOSTNAME variable. This keeps Kernel level DHCP configuration intact. - modify /etc/conf.d/net to prepend "noop" to config_ethX module list. This keeps already configured interfaces up and does not reconfigure them. ------------------------------------------------------------------------ r323 | jjengla | 2007-02-19 12:15:02 -0800 (Mon, 19 Feb 2007) | 4 lines Contributed by Volkmar Glauche <volkmar.glauche@uniklinik-freiburg.de> -- If /proc/mounts returns /dev/root for the root mount point, this patch scans /proc/cmdline for an nfsroot=server:/path entry and uses this, if possible ------------------------------------------------------------------------ r322 | jjengla | 2006-12-12 14:10:46 -0800 (Tue, 12 Dec 2006) | 3 lines - Fixed CentOS support ------------------------------------------------------------------------ r321 | jjengla | 2006-11-02 14:43:18 -0800 (Thu, 02 Nov 2006) | 4 lines Modify mk_path to use mirror_props on any directories that get created. Get rid of cpio call in copy_file: need to still get rid of system(cp) call. ------------------------------------------------------------------------ r320 | jjengla | 2006-10-12 12:11:34 -0700 (Thu, 12 Oct 2006) | 3 lines Added verbosity to pwr command. ------------------------------------------------------------------------ r319 | jjengla | 2006-10-12 11:52:56 -0700 (Thu, 12 Oct 2006) | 3 lines Added global verbose flag. ------------------------------------------------------------------------ r318 | jjengla | 2006-10-04 12:55:06 -0700 (Wed, 04 Oct 2006) | 3 lines Fixed bug in new fork_parallel() sleep option. ------------------------------------------------------------------------ r317 | jjengla | 2006-10-04 10:32:58 -0700 (Wed, 04 Oct 2006) | 2 lines Update ramfs stats ------------------------------------------------------------------------ r316 | jjengla | 2006-10-04 10:29:56 -0700 (Wed, 04 Oct 2006) | 3 lines Added libs for dynamic busybox. ------------------------------------------------------------------------ r315 | jjengla | 2006-10-03 16:19:15 -0700 (Tue, 03 Oct 2006) | 3 lines Added e2label support to initramfs ------------------------------------------------------------------------ r314 | jjengla | 2006-10-03 13:45:50 -0700 (Tue, 03 Oct 2006) | 3 lines Fixed udhcpc (in busybox) to accept rootpath dhcp option. ------------------------------------------------------------------------ r313 | jjengla | 2006-10-03 12:30:53 -0700 (Tue, 03 Oct 2006) | 4 lines Fixed initramfs generation. The 2>&1 during cpio generation was hosing the archive. ------------------------------------------------------------------------ r312 | jjengla | 2006-10-03 11:08:17 -0700 (Tue, 03 Oct 2006) | 3 lines fixed initramfs perms ------------------------------------------------------------------------ r311 | jjengla | 2006-10-02 21:58:29 -0700 (Mon, 02 Oct 2006) | 6 lines Complete overhaul of the pwr/consl commands. These commands now call the same engine to build commands based on node specifications. This opens the door for any node command to be created in a similar way, and gets rid of some code replication that was going on. ------------------------------------------------------------------------ r310 | jjengla | 2006-09-28 20:50:20 -0700 (Thu, 28 Sep 2006) | 3 lines Changed busysbox to be static. Removed all shared libs. ------------------------------------------------------------------------ r309 | jjengla | 2006-09-27 23:20:59 -0700 (Wed, 27 Sep 2006) | 3 lines Got rid of all oneSIS-boot and oneSIS-root stuff. ------------------------------------------------------------------------ r308 | jjengla | 2006-09-27 10:39:19 -0700 (Wed, 27 Sep 2006) | 3 lines mk-initramfs: Fixed initrd auto-sizing. ------------------------------------------------------------------------ r307 | jjengla | 2006-09-26 22:09:59 -0700 (Tue, 26 Sep 2006) | 4 lines Threw in some stuff to make dropbear happy in a minimal ramfs and set up an initial environment. ------------------------------------------------------------------------ r306 | jjengla | 2006-09-26 16:05:20 -0700 (Tue, 26 Sep 2006) | 3 lines Removed vi from initramfs ------------------------------------------------------------------------ r305 | jjengla | 2006-09-26 16:03:28 -0700 (Tue, 26 Sep 2006) | 3 lines Added new busybox with syslogd and some other stuff ------------------------------------------------------------------------ r304 | jjengla | 2006-09-26 15:34:49 -0700 (Tue, 26 Sep 2006) | 3 lines More work on initramfs ------------------------------------------------------------------------ r303 | jjengla | 2006-09-26 15:33:50 -0700 (Tue, 26 Sep 2006) | 3 lines Moved /linuxrc to /init. ------------------------------------------------------------------------ r302 | jjengla | 2006-09-26 15:32:48 -0700 (Tue, 26 Sep 2006) | 3 lines Added dropbear and udhcpc support in initramfs. ------------------------------------------------------------------------ r301 | jjengla | 2006-09-15 14:37:03 -0700 (Fri, 15 Sep 2006) | 3 lines Cosmetic stuff for initrd/ramfs. ------------------------------------------------------------------------ r300 | jjengla | 2006-09-15 00:05:26 -0700 (Fri, 15 Sep 2006) | 3 lines Removed CIT support. ------------------------------------------------------------------------ r299 | jjengla | 2006-09-14 23:56:06 -0700 (Thu, 14 Sep 2006) | 3 lines Made some fixes to mk-initramfs-oneSIS. ------------------------------------------------------------------------ r298 | jjengla | 2006-09-14 23:41:00 -0700 (Thu, 14 Sep 2006) | 4 lines Added mk-initramfs-oneSIS. Moved initramfs stuff to its own dir. ------------------------------------------------------------------------ r297 | jjengla | 2006-09-13 14:46:44 -0700 (Wed, 13 Sep 2006) | 3 lines Updated distro patch. ------------------------------------------------------------------------ r296 | jjengla | 2006-09-13 14:22:15 -0700 (Wed, 13 Sep 2006) | 3 lines Added centos support ------------------------------------------------------------------------ r295 | jjengla | 2006-09-13 12:25:56 -0700 (Wed, 13 Sep 2006) | 3 lines Added patch for RHEL4U4 ------------------------------------------------------------------------ r294 | cashmont | 2006-09-13 08:56:17 -0700 (Wed, 13 Sep 2006) | 4 lines Added oneSIS-tmp as a special directory -cdm ------------------------------------------------------------------------ r293 | jjengla | 2006-09-13 08:14:11 -0700 (Wed, 13 Sep 2006) | 3 lines Reverted to revision 278 until testing can be done on r279 changes. ------------------------------------------------------------------------ r292 | jjengla | 2006-09-12 23:39:11 -0700 (Tue, 12 Sep 2006) | 3 lines Minor update ------------------------------------------------------------------------ r291 | jjengla | 2006-09-12 23:36:26 -0700 (Tue, 12 Sep 2006) | 8 lines More messing around with initrd templates in SVN. Made a couple of make targets: -- initrd-checkin - Saves the initrd ownership/permission stats -- initrd-checkout - Restores ownership/permission stats and builds initrd template tarballs ------------------------------------------------------------------------ r290 | jjengla | 2006-09-12 22:05:56 -0700 (Tue, 12 Sep 2006) | 10 lines Add initramfs template filesystem. This will eventually deprecate the binary initrd blob that is checked in now, and allow for making changes without having to check in a new giant binary each time. SVN is going to screw up ownership/permissions on the initramfs filesystem, so I made get-fs-stats and set-fs-stats, to snapshot the ownership/permissions of the initramfs files before a checkin and restore them after a checkout. ------------------------------------------------------------------------ r289 | jjengla | 2006-09-12 20:14:04 -0700 (Tue, 12 Sep 2006) | 3 lines Fix @special_dirs in mk-sysimage ------------------------------------------------------------------------ r288 | jjengla | 2006-09-12 13:06:39 -0700 (Tue, 12 Sep 2006) | 3 lines Got rid of CIT interface, as it was never used. ------------------------------------------------------------------------ r287 | jjengla | 2006-09-01 12:12:32 -0700 (Fri, 01 Sep 2006) | 3 lines Fixed file properties. Added mime type and deleted eol handling. ------------------------------------------------------------------------ r286 | jjengla | 2006-09-01 09:36:13 -0700 (Fri, 01 Sep 2006) | 3 lines Fixed mime type for initrd template so svn downloads work right. ------------------------------------------------------------------------ r285 | jjengla | 2006-09-01 09:09:33 -0700 (Fri, 01 Sep 2006) | 4 lines Added initrd.conf with currently available options, but these are going to change soon. ------------------------------------------------------------------------ r284 | jjengla | 2006-08-31 23:02:03 -0700 (Thu, 31 Aug 2006) | 4 lines mk-initrd-oneSIS: Allow --config option to specify an alternate config to direct the action in the initrd. ------------------------------------------------------------------------ r283 | jjengla | 2006-08-31 22:24:26 -0700 (Thu, 31 Aug 2006) | 8 lines mk-initrd-oneSIS: -- Dynamically determine the size of the initrd filesystem and create initrd of appropriate size. -- Added '--buffer' option to allow extra empty space to be added to the initrd fs (default is 1024). -- Allow one or more filesystem overlays to be added to the initrd with --overlay option. ------------------------------------------------------------------------ r282 | jjengla | 2006-08-24 08:36:49 -0700 (Thu, 24 Aug 2006) | 3 lines Lame check-in to test SVN emails. ------------------------------------------------------------------------ r281 | jjengla | 2006-08-24 08:31:59 -0700 (Thu, 24 Aug 2006) | 3 lines Added lame version tag to test SVN checkin ------------------------------------------------------------------------ r279 | cashmont | 2006-08-17 07:17:00 -0700 (Thu, 17 Aug 2006) | 5 lines Don't rely on /tmp for parsing files. Use /mnt/oneSIS-tmp. This covers the case where /tmp could be linked somewhere else and is a dead link in the image. Also tag the rejects file when attempting the path of the distro. ------------------------------------------------------------------------ r278 | jjengla | 2006-07-31 07:22:28 -0700 (Mon, 31 Jul 2006) | 2 lines copy-rootfs: Fixed bogus usage info ------------------------------------------------------------------------ r277 | jjengla | 2006-07-31 07:19:24 -0700 (Mon, 31 Jul 2006) | 3 lines copy-rootfs: Added --localregexp for allowing user to specify regexp for local partitions (as seen in /proc/mounts). ------------------------------------------------------------------------ r276 | jjengla | 2006-07-28 15:06:18 -0700 (Fri, 28 Jul 2006) | 3 lines copy-rootfs: Always grab /dev from remote node. ------------------------------------------------------------------------ r275 | cashmont | 2006-07-21 07:12:23 -0700 (Fri, 21 Jul 2006) | 7 lines sysimage.conf.sample - added example of using a device for disk deployments mk-diskful - add --nocopy feature, that disables copying from image server (e.g. you only want a disk partition deployed and nothing copied to it) oneSIS.pm - fixes to correctly work on /dev/cciss/c0d0 devices - support device name for deployswap/deploymount directives - support creation of ext3/xfs/jfs/reiserfs/reiser4/any mkfs deployments (if it exists in /sbin/mkfs.TYPE) you can make a partiton with it! - support disk labeling when possible for various deployment types ------------------------------------------------------------------------ r274 | jjengla | 2006-06-22 10:55:57 -0700 (Thu, 22 Jun 2006) | 2 lines copy-rootfs: Always copy over /dev ------------------------------------------------------------------------ r273 | jjengla | 2005-11-29 10:40:06 -0800 (Tue, 29 Nov 2005) | 2 lines genconf: some old shared network support for dhcpd.conf ------------------------------------------------------------------------ r272 | jjengla | 2005-11-16 19:00:21 -0800 (Wed, 16 Nov 2005) | 2 lines oneSIS.pm: added ability to set hostname from kernel commandline ------------------------------------------------------------------------ r271 | jjengla | 2005-11-16 17:21:29 -0800 (Wed, 16 Nov 2005) | 2 lines rc.preinit: Added option to leave /proc mounted upon exit ------------------------------------------------------------------------ r270 | jjengla | 2005-11-16 17:19:38 -0800 (Wed, 16 Nov 2005) | 2 lines bugfix ------------------------------------------------------------------------ r269 | jjengla | 2005-10-04 20:39:37 -0700 (Tue, 04 Oct 2005) | 2 lines oneSIS.pm: cleaned up debug code ------------------------------------------------------------------------ r268 | jjengla | 2005-10-04 20:26:47 -0700 (Tue, 04 Oct 2005) | 6 lines consl,pwr: Added property support -- improved speed (especially for single hosts) oneSIS.pm: created oneSIS::match_nodespec() to match a host against given lists of ranges/regexps/classes/properties ------------------------------------------------------------------------ r267 | jjengla | 2005-09-30 18:37:30 -0700 (Fri, 30 Sep 2005) | 19 lines neSIS.pm: Added initial support for properties. -- Added PROPERTY directive -- added oneSIS::property class -- changed oneSIS::classes_nodes to oneSIS::modifier -- added properties to oneSIS::modifier -- Updated all directives to recognize '-p property' modifier -- Got rid of protected directories (old -p option) -- All directories are now protected by default -- Added clean (-cl) option for directories that should be cleaned by 'update-node --clean' -- cleaned up and centralized much code by putting oneSIS::using_directive() function in place all over other progs: inserted oneSIS::using_directive() where appropriate -- replaced oneSIS::classes_nodes with oneSIS::modifer test-oneSIS: added a few tests for property-based directive modifiers ------------------------------------------------------------------------ r266 | jjengla | 2005-08-15 10:11:24 -0700 (Mon, 15 Aug 2005) | 2 lines sync-node: Added --reverse to sync back to the master image ------------------------------------------------------------------------ r265 | jjengla | 2005-08-12 15:26:47 -0700 (Fri, 12 Aug 2005) | 2 lines oneSIS.pm: changed setup_localdisks to return swap partitions and mounts ------------------------------------------------------------------------ r264 | jjengla | 2005-08-12 15:08:21 -0700 (Fri, 12 Aug 2005) | 2 lines mk-diskful: added --mount option to mount partitions after deploying them ------------------------------------------------------------------------ r263 | jjengla | 2005-07-26 12:57:40 -0700 (Tue, 26 Jul 2005) | 2 lines pwr: Added --sleep parameter ------------------------------------------------------------------------ r262 | jjengla | 2005-07-06 01:17:06 -0700 (Wed, 06 Jul 2005) | 2 lines mk-diskful: ignore /dev/root in /proc/mounts ------------------------------------------------------------------------ r261 | jjengla | 2005-07-04 23:58:40 -0700 (Mon, 04 Jul 2005) | 2 lines genconf: added ntp.conf template ------------------------------------------------------------------------ r260 | jjengla | 2005-07-04 22:37:57 -0700 (Mon, 04 Jul 2005) | 2 lines genconf: added -*- cperl -*- headers to all templates ------------------------------------------------------------------------ r259 | jjengla | 2005-07-04 12:16:23 -0700 (Mon, 04 Jul 2005) | 2 lines genconf: Added category order of appearance for /etc/hosts generation ------------------------------------------------------------------------ r258 | jjengla | 2005-06-29 12:10:06 -0700 (Wed, 29 Jun 2005) | 2 lines pxe-config: Minor update to fix EDITOR with pxe-config -c ------------------------------------------------------------------------ r257 | jjengla | 2005-06-29 10:36:12 -0700 (Wed, 29 Jun 2005) | 2 lines pwr: added support for HOST/// translations with ipaddr format ------------------------------------------------------------------------ r256 | jjengla | 2005-06-29 00:46:26 -0700 (Wed, 29 Jun 2005) | 2 lines genconf: more cleanup ------------------------------------------------------------------------ r255 | jjengla | 2005-06-29 00:41:03 -0700 (Wed, 29 Jun 2005) | 2 lines genconf: converted backend from Templates to pure perl ------------------------------------------------------------------------ r254 | cashmont | 2005-06-22 12:55:02 -0700 (Wed, 22 Jun 2005) | 4 lines Added the ability to to a comment name on your subnet grouping. % ./genconf dhcp -i templates/sample_input/dhcpd.conf.in -cdm ------------------------------------------------------------------------ r253 | cashmont | 2005-06-22 12:34:09 -0700 (Wed, 22 Jun 2005) | 3 lines Test of a commit to genconf -cdm