Commit Graph

75 Commits

Author SHA1 Message Date
nott
911364a69b Use runcmd instead of call to system.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-25 13:12:52 +00:00
lissav
3578b6b200 Add change of / directory ownership to root/system and other fixes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-19 16:49:54 +00:00
nott
f7cbe33bf3 Change permissions on xcataixpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-18 14:37:30 +00:00
lissav
d11bfe8ee8 fixed for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-13 12:22:20 +00:00
lissav
0e5cdd5db2 use new USESSHONAIX attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-12 18:43:37 +00:00
nott
a42bc0a046 New xCAT post script to use for AIX nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-12 12:55:29 +00:00
lissav
03a803975f sets up rsh or ssh on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-11 18:42:59 +00:00
lissav
fed519c557 LDAP client setup postinstall script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-05 13:03:01 +00:00
lissav
14da767736 Add chkconfig defect 1975557
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-04 19:48:58 +00:00
lissav
5396adae2d git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2008-06-02 16:45:22 +00:00
lissav
d425ba6612 do not exit with ntpdate failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-30 13:52:38 +00:00
lissav
197a444b43 remove obsolete authenticate keyword
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-28 18:51:33 +00:00
lissav
d835ef8a26 Change to support new design for NTP setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-28 16:38:49 +00:00
jbjohnso
0fca95bdbf -Update xcatdsklspost to accomodate SLES (dhcpcd fallback to dhclient info)
-Have RH/CentOS/Fedora forcibly remove GRUB attempts to directly use serial console, this causes hangs
-Tweak package list for SLES 10 stateless


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-27 18:21:23 +00:00
lissav
b427092c6c Add ntpdate call and start of ntpd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-27 13:33:14 +00:00
lissav
3c5d9dfa0b redo ntp.conf file info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-26 20:39:13 +00:00
linggao
ed472c70b3 fixed problem in syslog and conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-23 01:43:24 +00:00
jbjohnso
4dd32396f8 -Fix xcatdsklspost mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-15 21:00:34 +00:00
lissav
3f9458bd09 add error return message to logging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-15 17:18:04 +00:00
lissav
d05b968cd9 logger hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-15 14:52:25 +00:00
jbjohnso
06b609124f -Remove hardcoded eth0 reference from xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1404 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 23:18:10 +00:00
jbjohnso
01aaf63409 -Extend stunnel path acceptence to two more postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 20:29:34 +00:00
jbjohnso
579b1ba494 -Accept either /usr/bin or /usr/sbin as valid location for stunnel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 20:16:32 +00:00
linggao
b9d4932178 fix NODESETSTATE env variable value in posrscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 19:14:32 +00:00
lissav
a10e5711d4 Update setupntp for 2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 16:43:41 +00:00
jbjohnso
fd5e1a73f7 -Awk file transfers to xcatd are retried in most places
-blade plugin will retry more to scale reliably


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 23:33:16 +00:00
datajerk
f27a942860 Removed /install from URL.
1.  It should never be hardcoded.
2.  Does not work with vsftpd (i.e. the symlink hack didn't work).



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 16:58:11 +00:00
linggao
0e4f882335 change syslog postscript to use env instead of tabdump
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-12 19:28:44 +00:00
jbjohnso
bc96f570ba -If aufs style setup detected, setup pre-emptive lazy umounts for shutdown and reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-09 17:20:04 +00:00
linggao
23c2a3d980 changed syslog postscript from perl to sh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-09 02:20:19 +00:00
jbjohnso
c7c12b5dcb -Fix getpostscript and getcredentials clients to not hang when server doesn't
cut them off


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 19:34:12 +00:00
jbjohnso
f5287bff89 -Have remoteshell no longer call perl
-Include wget for fedora ppc image
-Change packimage to not chroot and attempt chkconfig, use alternate way


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 19:11:13 +00:00
bp-sawyers
5bcbccf561 added vsftp to service node pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1310 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 17:14:46 +00:00
jbjohnso
1399964941 comment out the 5 lines of code that are deprecated for the getcredentials functionality
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-05 20:04:06 +00:00
jbjohnso
8c3990da74 -Add .pub file for reference when retrieving the private key, probably would help scripts, including rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-05 14:39:07 +00:00
jbjohnso
5b4f1fa25d -Stop credentials allower from running when scripts complete
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 20:34:40 +00:00
jbjohnso
82fd039e18 -Fix pm/pem typo
-Copy ca cert over


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 19:53:01 +00:00
jbjohnso
8ad1e5c372 Add server and client xcat setup scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 19:39:55 +00:00
jbjohnso
1093a5043d -Actually put in the getpostscript.awk script that was missing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 18:36:16 +00:00
jbjohnso
e173ea9f3d -Move stateless diskless to new postscript strategy, leave AIX alone for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-01 20:52:16 +00:00
nott
70a4481ecf Added AIX support and did some code cleanup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-01 17:02:59 +00:00
jbjohnso
e9c8e9cbfa -Fix remoteshell to not cause SELinux errors on RHEL5 installs
-Fix SLES support of the new credentials/dynamic postscripts


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-01 14:45:30 +00:00
jbjohnso
5540ae512b -Change .directories in postscripts dir for wget traversal
-Change remoteshell to retrieve ssh host keys via credentials plugin
-Change allowcred.awk to be persistant in execution for multiple runs
-Move stunnel setup to the post.rh scripts (post.sles to do)
-Migrate to no longer have per-node postscripts generated for redhat installs
-Change to no longer use a postscripts tar file, recursive ftp instead
-Change to setup vsftpd



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-30 20:54:57 +00:00
jbjohnso
a34b602d84 -Use curl instead of normal tftp client to upload, since Fedora only has curl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-30 15:11:04 +00:00
jbjohnso
4359838818 -Fix credentials plugin to not block install if not allowed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-29 13:57:57 +00:00
linggao
edb8002d22 fixed message duplication in syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 17:55:41 +00:00
bp-sawyers
f87a94b181 made some postscripts executable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 13:52:45 +00:00
lissav
552e267089 Capture STD and STDERR and use logger.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 13:29:36 +00:00
bp-sawyers
1f50594afc Added configeth postscript to configure secondary adapter.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 13:04:01 +00:00
linggao
682d3d0d0b use NTYPE in syslog postscript instead of checking /etc/xCATSN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-23 17:55:51 +00:00