Commit Graph

108 Commits

Author SHA1 Message Date
jjhua
24a2928e03 service node pool supports for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 07:43:19 +00:00
jjhua
09f4a16b24 use the variable INSTALL_SOURCES_IN_PRE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 08:26:35 +00:00
jjhua
61569206a1 service node pool supports for system X rhels6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 07:19:06 +00:00
lissav
af3ac58d23 remove version 2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 18:16:33 +00:00
jbjohnso
562852decd Fixes for ubuntu enhancements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 21:05:07 +00:00
jbjohnso
e96ada6593 Add storage detection logic to debian deploy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 21:00:14 +00:00
jbjohnso
636f0bd5f6 Fix problem where ubuntu needlessly mandates noderes.primarynic in one place, one to go
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:11:30 +00:00
jbjohnso
de0d1d84ec Fix a problem where partition recipe was incorrectly written out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 17:48:02 +00:00
jjhua
04112294b3 fixed bug 3259, have the addsiteyum be called before running the postscripts, the repos might be needed by some other user customized scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:43:26 +00:00
linggao
044848b35d fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:12:32 +00:00
linggao
92b22201f6 fixed SF bug #3398 updatenode -P fails if hostname on the node is FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 15:20:58 +00:00
phamt
016c25940a Fixed nodeset to copy the contents of xcatinstallpost and xcatpostinit1 into the autoyast or kickstart template, allowing postbootscripts to be run.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 21:00:51 +00:00
xq2005
5cd7d72d51 run postscripts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 13:02:26 +00:00
xq2005
a1b47e3ed1 support postscripts return status on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 08:17:57 +00:00
xq2005
23a6061209 update-grub can configure the console automaticlly on ubuntu/debian, the serialspeed is not a require attribute now, bug 3336
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 06:56:01 +00:00
jjhua
a60b0c597d fixed bug 3291. in Linux, if the precreatemypostscripts is not set or set to 0 in site table, it will get the mypostscript.nodename fistly. If not get it, use getpostscript.awk version2 to generate the mypostscript file named mypostscript.nodename.tmp, then get it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:31:00 +00:00
jjhua
7a62794c0f make postbootscripts work on sles11 diskfull installation,and allow the admin to specify RUNBOOTSCRIPTS=yes which will trigger the post boot scripts on a reboot of disk full nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:48:09 +00:00
jjhua
937a403872 use chkconfig xcatpostinit1 on to make sure xcatpostinit1 could be started when booting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:34:31 +00:00
jjhua
92931c7bb9 fixe bug 3280
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:02:25 +00:00
xq2005
8d6aa83db2 create partition file base on the uefi and bios boot mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 09:05:10 +00:00
xq2005
01815332da post part in preseed file on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 06:25:13 +00:00
jjhua
bc1e7e26f6 modify some code to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:40:48 +00:00
jjhua
698de9076f correct a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 06:04:42 +00:00
daniceexi
6e67b0642a fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:58:44 +00:00
xq2005
8d3407e137 change the link /bin/sh to /bin/bash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 09:40:16 +00:00
jjhua
5238c71638 for linux, make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 07:18:38 +00:00
jwsimpson
0ca023a373 update to fix run boot script problem. added chkconfig xcatpostinit1 off and other minor corrections.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 20:38:52 +00:00
phamt
4916e1ad31 Fixed sizing issue for action bar on Google Chrome. Fixed zFCP table for when no pool exists.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 20:52:55 +00:00
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