Commit Graph

80 Commits

Author SHA1 Message Date
linggao
dc6c986f4b added postscript setuppostbootscripts to support value change for site.runbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 21:04:26 +00:00
jjhua
a1edd1ece5 performance enhancement, site.precreatemypostscripts=1 support for linux diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 07:36:06 +00:00
jwsimpson
a2f73a2b8c git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-10-04 21:02:15 +00:00
jwsimpson
171c8aa118 update to correct problems with post boot script changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 11:27:29 +00:00
immarvin
36dda35ce0 corrected the issue that PBS cannot run in first boot after installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 11:12:39 +00:00
immarvin
18685bccef add a global variable return_value to keep the return value of the postbootscripts, do not update nodelist.status if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:46:50 +00:00
jbjohnso
842cb67bd6 Correct RHEL grub buggy behavior when detected on EFI installs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 20:47:52 +00:00
phamt
2a6d3fa386 Fixed s390x postscripts to use HTTP server instead of FTP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-01 03:28:41 +00:00
jwsimpson
e9a96fbfbe Updates to support postbootscripts on reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 15:52:31 +00:00
xq2005
2204106886 full install ubuntu on compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:22:52 +00:00
xq2005
d1effdcabb specify partition definition: support script for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:27:21 +00:00
xq2005
44d0bf1e2b specify paritionfile: modify the pre.sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:02:20 +00:00
xq2005
c5a5298977 specify partition file: add comment line in pre.rh file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 13:39:15 +00:00
jbjohnso
b1137466c4 Fix problem where EFI based installs failed to correctly place boot partition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-05 13:42:40 +00:00
jbjohnso
0c9f723786 Correct loop variable names in various post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:27:19 +00:00
jbjohnso
ea23089441 Fix a problem in the boot partition in rhel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:25:46 +00:00
jbjohnso
b99e150b60 Add boot device probing to suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:00:30 +00:00
jbjohnso
8250bc1673 Have RedHat installs reduce risk of overwriting SAN volumes. The strategy:
BIOS drive 80 is chosen if at all possible (don't know EFI way yet)
Failing that, first virtio block device
Failing that, then first block device served by ata_piix4, ahci, megaraid_sas, pmcraid
Failing that, first mptsas or mpt2sas
Failing that, first block device

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 18:41:18 +00:00
jbjohnso
957464e075 Have wget http ignore robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 12:40:46 +00:00
jbjohnso
72254ce79c Provide a hook for TLS cert delivery by updates.img.
Note this is of little use in a PXE environment today, as MITM to the initrd or ipxe subverts all of this.
This however is interesting for secure boot environments and remote media boot strap to provide an unbroken trust chain

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 13:39:51 +00:00
ligc
2d6e8d8a5d fix for bug 3487614: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-31 02:58:07 +00:00
ligc
9b0eef0aa9 fix for bug 3487614: move scripts to /xcatpost/mypostscript* and the requirement from bug 3497125
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 03:16:38 +00:00
ligc
8168b22e49 fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:26:38 +00:00
lissav
650ea98014 fix build of mypostscript to include cd /xcatpost defect 3487592
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-14 18:00:40 +00:00
linggao
f2cec79b7a added run_ps for all the postscripts for diskful install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 19:22:25 +00:00
ligc
2168497930 export INSTALL for wget with http
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-02 07:10:56 +00:00
linggao
9a449ba26c fixed defect 3368796 nodestat does not show install of packages under SLES 11 SP1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-22 01:28:14 +00:00
jbjohnso
224675f5cc Correct template to just let command line drive
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-17 20:56:39 +00:00
jbjohnso
84bbe8d110 Put 'repo=' in kernel command line, allow ipv6 to operate in anaconda type setups
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-17 20:56:23 +00:00
ligc
ab2ce81e32 ftp dependency removal - fix for post.sles and post.sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-11 05:59:28 +00:00
ligc
112f5aeebd ftp dependency removal initial code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-10 14:26:08 +00:00
jbjohnso
282feb6f6e Fix legacy install of sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 19:30:35 +00:00
jbjohnso
54ea79fc01 Add UEFI autopartitioning to SLES11 compute template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-26 15:12:11 +00:00
ligc
71d204db9d add service.raid1.sles11.tmpl and post.sles11.raid1 for RAID1 support on SLES11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 03:13:12 +00:00
jbjohnso
5c3e3f6bf1 Fix check for ext4/ext3 preference/support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-20 16:03:43 +00:00
jbjohnso
f0c2764eb3 Put in capability to auto-create partition plans
Change partition plans for autodetect of PReP and UEFI style booting


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-20 15:51:01 +00:00
ericagar
29cc018a5b For Ubuntu, mypostscript.post will not survive across a reboot, because Ubuntu clears out /tmp on reboot.
Keep mypostscript.post in /var/tmp across the reboot for Ubuntu.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-17 02:40:40 +00:00
otubo
82761e278a Reverting revision 10288 (bug ) as this change is breaking other distros.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-16 19:30:27 +00:00
otubo
7d877d5dd7 Fix for bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-15 15:55:42 +00:00
otubo
6ada293424 Fix for bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-13 18:12:46 +00:00
otubo
5527e17e3a Fix for bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-13 18:02:24 +00:00
otubo
e58d4adf3d Fix for bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-13 17:54:25 +00:00
sjing
6b82ec81fe Fix for nodeset fails if site.nameservers is empty. dhcp client handles the /etc/resolv.conf creating.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-25 02:27:44 +00:00
angli-xcat
c4a270200b To solve BUG 3299992
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 06:48:02 +00:00
mxi1
c05773142f for defect 3204575, updated the "post.rh" template for diskful installation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-28 01:42:09 +00:00
bp-sawyers
5bda5a1df6 Check in Arif's changes for debian/ubuntu support. Not all patches applied yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 09:50:17 +00:00
jbjohnso
efb11951b4 -Actually fix things
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-21 21:35:09 +00:00
jbjohnso
3761b5c1b5 -Fix autonic on sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-21 21:05:43 +00:00
phamt
b1df4c12e4 Set SELinux default context in RHEL6 postscript.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-05 16:43:50 +00:00
phamt
4be45af09c Added support for RHEL6. Cleaned up RHEL5 kickstart template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 17:48:56 +00:00