mxi1
170c215815
-defect 2972473 is fixed; add limited cross-platform support for genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 09:17:51 +00:00
mellor
1b819b4b1f
fixes to genimage for NEW_INSTALL_LIST processing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 00:51:21 +00:00
mxi1
d4f537e501
=bug 2975712 is fixed; genimage cannot get the package in the .pkglist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 08:47:35 +00:00
mellor
7e68619239
SLES genimage support for NEW_INSTALL_LIST stanza in pkglist files
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-22 16:14:06 +00:00
linggao
a2b053d8bd
added support for #INCLUDE tag in pkglist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 21:12:56 +00:00
mxi1
8b78dec611
change kernel-ppc64 to kernel-default in the default service pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-12 03:07:08 +00:00
mxi1
481b3d7c14
-defect 2968721 is fixed; two new template file for ppc64 is added;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-12 03:06:07 +00:00
mellor
279f7ae8d4
add zypper refresh cmds to genimage to update cache when running genimage against an existing image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 17:25:45 +00:00
mellor
ec968920b8
add zypper/yum update cmds to genimage to update all sw when running genimage against an existing image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:46:07 +00:00
linggao
f0b3ff688e
fixed problem that mounts on /proc in genimage for SLES.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 18:53:20 +00:00
mxi1
89f854ab47
update the help message for genimage, --permission is added
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 10:18:04 +00:00
mxi1
6596d095b1
little change for the last commit of genimage on sles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 08:00:51 +00:00
mxi1
54e38a38a4
--permission is added for statelite mode, you can set the permission of /.statelite now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 06:54:52 +00:00
linggao
cba42170fe
more statelite work for SLES
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 02:24:48 +00:00
mxi1
a8427de69b
==statelite mode is supported for SLES11==
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-26 12:10:16 +00:00
mxi1
d25e5519b4
-fix the bug: the in-correct <resolv.conf> file is always produced for the diskless sles11 system. dhcpcd has done most of the works for us
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 13:15:24 +00:00
mxi1
cfcd04f736
-bug 2869570 is fixed for sles 10 sp3 support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 11:39:37 +00:00
linggao
2ef5d90b17
default otherpkgs.pkglist files for the sevice nodes for install
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-08 17:42:50 +00:00
linggao
1350e523e0
genimage changes to allow removing packges from otherpkgs.pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 20:21:11 +00:00
linggao
0cc7ee9f5f
osimage phase2: genimage and packimage honor osimage table settings
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 18:51:53 +00:00
jbjohnso
63fd2d2e97
-Fix conditional in previous checkin to be valid bourne shell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 16:00:57 +00:00
jbjohnso
5e9f971347
-Try a different approach to avoid exceeding inittab legal lengths
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 15:49:18 +00:00
jbjohnso
d458cab430
-Make 'xco' items more specific to cope with multpile console= statements on command line
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 15:13:46 +00:00
mxi1
e583de8efc
-defetc 2837465 is fixed; /dev/urandom and /dev/random are created
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-17 06:40:04 +00:00
mxi1
db25b8cac4
the defect 2836707 is fixed; one checkpoint is added to check whether the /proc fs is mounted in the rootimg
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 08:36:38 +00:00
linggao
801565fe96
support for moving postsctipts to init.d process for RH,Fedora and CentOS
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-23 21:03:49 +00:00
linggao
cc82c70b5b
added INCLUDE and subdir support for otherpkg.pkglist for genimage for SLES
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-02 20:24:27 +00:00
daniceexi
3b427eebef
roll back to the last version to remove the sync image implementation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 09:08:14 +00:00
jbjohnso
e25e9fe30a
-Try out ceasing use of stunnel in favor of openssl everywhere
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-25 19:18:22 +00:00
ligc
26566efcc1
bug 2800645: Added a new service.sles10.postinstall in xCAT-Server package
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-25 07:07:20 +00:00
daniceexi
b3c5208704
Add the rsync package into the pkglist of diskless node for Syncing File Feature
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 08:43:16 +00:00
daniceexi
a9e38189f3
Code drop for the Syncing file feature to support that sync file to the root image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 08:32:47 +00:00
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
0c9cc10542
-Remove 2 postinstall workarounds; Comment otherpkgs repository in .repolist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-13 13:39:03 +00:00
mxi1
f4eda5f591
-according Jarrod's code chang (from stunnel to openssl), remove stunnel from .pkglist files
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 08:43:03 +00:00
mxi1
1c56a17d5e
-two workarounds are added for sles11 diskless service node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-08 09:52:05 +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
5e6f8a729b
Example of booted image versioning using CVS.
...
We want to know, with what configuration (version of the image) each node was booted.
Hence, we keep image definition files and postscripts in CVS. During image generation we create file /etc/IMGVERSION and fill it with CVS "$Id$" of files with image definition (.pkglist, .exlist, .repolist, .postinstall). Then, during boot, each "CVS enabled" postscript adds one line to /etc/IMGVERSION. Then you can determine in any time what image you are running and what postscipts in which versions were run. /etc/IMGVERSION cat look like:
smbec02n001(smbec02b01n01):~ #cat /etc/IMGVERSION
#-- $Id: base.pkglist,v 1.4 2008/09/02 15:40:12 sikorsky Exp $
#-- $Id: base.exlist,v 1.3 2008/09/02 14:57:08 sikorsky Exp $
#-- $Id: base.postinstall,v 1.21 2008/09/04 12:05:45 sikorsky Exp $
#-- $Id: base.repolist,v 1.3 2008/09/02 14:57:08 sikorsky Exp $
$Id: syslog,v 1.2 2008/09/02 14:54:29 sikorsky Exp $
$Id: remoteshell,v 1.2 2008/09/02 14:54:29 sikorsky Exp $
$Id: sa_set_net,v 1.5 2008/09/04 11:32:07 gdasstm Exp $
$Id: sa_gpfs,v 1.4 2008/09/02 17:30:05 sikorsky Exp $
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 21:44:55 +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
71d72352fb
Added share/xcat/netboot/sles/copy_profile.sh.
...
This script is used to copy all files belonging to one profile (.pkglist .exlist .postinstall .repolist) to another name.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:46:59 +00:00
sikorsky
ac2f90ce64
Added sles/compute.postinstall example script (for genimage patch in rev 2119)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:40:45 +00:00