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
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