Commit Graph

18 Commits

Author SHA1 Message Date
linggao
2ce463ab83 added logic so that user can specify what files to keep in a excluded dir in *.exlist file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-19 18:56:27 +00:00
linggao
a6a3fef0af added umount to remove the mount on rootimg/proc in genimage and packimage, made two calls to zypper instead of one call so that os gets installed first before other packages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 19:12:33 +00:00
linggao
692a785328 postinstall template can now be put under /install/custom/netboot/..
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 14:13:56 +00:00
mxi1
21cb6eb931 -update diskless SLES11 environment, move ppc64 away and make the .pkglist, and .postinstall files adaptive for all <arch>s
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-08 07:37:35 +00:00
mxi1
2237ec6a76 -add service node support for SLES11;\nservice.repolist is used to store the repos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 16:55:13 +00:00
mxi1
461824949a update compute.sles11.ppc64.postinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-18 13:43:11 +00:00
linggao
a28c0f26f6 package lists and genimage for sles10.2 ppc with hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-16 22:12:03 +00:00
mxi1
4543983089 update genimage for sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 12:04:51 +00:00
linggao
f6c686bd1a minor fix for genimage for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-24 14:18:21 +00:00
linggao
8c143d78a6 allow user to add customization of pkg lists under /install/custom dir. more work on installing extra packages in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 22:03:01 +00:00
sikorsky
571c1bae2d Allows diskless nodes to boot via other interfaces aside of primary boot interface, ie. provides ethernet failover.
1) In initrd, bring up aside from main interface (genimage -i option) also other interfaces (-r option).
2) /etc/resolv.conf creation needed to be rewritten, othewise it gets confused by several dhcpcd records.
3) Fill database with MAC addresses for all interfaces. Since it't not possible to have several stanzas of the same name in dhcpd.conf, we need to define unique "alias" for every interface. For example, for host "host1" we will add '00:1A:64:5D:1B:84!host1e0|00:1A:64:5D:1B:86!host1e1' to macs table. Of course, this aliases have to be defined in DNS, otherwise makedhcp command will not use this aliases:
/etc/hosts:
10.217.249.232  host1   host1e0 host1e1
Since this are aliases (need not be nessesary), both interfaces get the same IP address during initrd, but this doesn't break anything.
  a) blades - changed getmacs function to gather all MAC addresses. Which interfaces we are interested in are defined in noderes.installnic or noderes.primarynic as "eth0|eth1".
  b) all other - TODO. We have only 8 non-blade nodes, so we fill database manually.
Backwards compatible:
      - if there is only one interface in noderes.installnic, getmacs function gathers only this one MAC address
      - if we run genimage without -r option, only one interface is brought up


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:04:32 +00:00
sikorsky
0e6c8deec3 This patch modifies sles/genimage script to first run "cvs update" in sles directory and if something happens (some files get updated), then it runs (execs) genimage script with the same options once again.
Purpose is to 1) keep track of changes in CVS, so force users to do any changes via CVS system and 2) avoid malicious behaviour of users.
I don't want to break trunk, so it's commented out.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:59:34 +00:00
sikorsky
d138e18555 Added {profile}.repolist functionality.
{profile}.repolist contains list of custom repositories (directory with rpms). Repositories will be added to the image before package installation. This makes possible to automatically install (by defining in {profile}.pkglist) packages that are not contained in standard distribution repository.
Example sles/compute.repolist provided.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:38:27 +00:00
sikorsky
0d56a54ddf Added {profile}.postinstall functionality. Idea is to generate image automatically, allowing user to install custom packages or change some files in the image during image generation phase, thus making image generation human-error prone.
{profile}.postinstall script is run after all packages from $profile.pkglist are installed. This makes possible to do any kind of magic with the image.
Example sles/compute.postinstall provided.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:32:35 +00:00
sikorsky
65af2acb5d Accept comments in {profile}.pkglist and {profile}.exlist.
This can be useful to mark what is which package for, who requested it etc.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:16:15 +00:00
linggao
ce5f39f502 more on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 23:52:04 +00:00
linggao
2f4f7acab5 more on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 21:08:48 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00