Commit Graph

667 Commits

Author SHA1 Message Date
linggao d8824a068f Added code for xCAT puppet integration on Ubuntu.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 19:03:18 +00:00
ligc c06c616558 fix for bug 3446: for SLES, do not add FW_DEV_EXT if there is only nic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 05:35:58 +00:00
ligc 045b83d76d fix for bug 3446: add 69 into ports list, chkconfig SuSEfirewall2_init on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 01:41:14 +00:00
linggao 6c1a840369 fixed SF bug#2433
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 21:17:46 +00:00
jbjohnso d095c0fc5f Have sshd directory contain public keys, as some pieces of software are expecting, whether they should or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:35:59 +00:00
nott 3c81f67a62 misc cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 16:02:31 +00:00
jjhua 2fbdba3fe3 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:46 +00:00
jjhua c4e7fe9f02 Before adding the os repos and otherpkgs repos, check if the repos were already added by xCAT in the previous run, if yes, update these repos; otherwise, create these repos directly. For the os repo added by addsiteyum, it should be deleted by ospkgs and otherpkgs, the ospkg and otherpkgs will add the os repos point to more directories. After ospkg/otherpkgs is done, do not remove the repos.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:47:28 +00:00
jjhua 29945eb0d1 fixed bug 3259, disabled the the centos internet repos added by the os.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:29:50 +00:00
linggao 10ad3b6945 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/trunk@15484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:05:27 +00:00
nott 46ad21d88c changes to finding xcat node name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 18:39:23 +00:00
nott c4c942fbab add xcat node name to /etc/xcatinfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 16:37:37 +00:00
nott e2aa75569f fix -m and xcat node name issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-11 19:36:19 +00:00
linggao 80b20c444f More fix for SF bug #3404 configib for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 19:49:02 +00:00
linggao f2eb32b3c9 fixed SF bug #3404 configib: Update xCAT IB configuration for AIX IB APAR IV36529
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 20:18:37 +00:00
linggao 361cd8c42b fix for 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/trunk@15400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 14:49:46 +00:00
linggao 845774a571 fixed a defect # 3398 updatenode -P fails if hostname on the node is FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 22:32:17 +00:00
lissav acd8d676c1 fix defect 3398
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 17:33:03 +00:00
nott 01f1a52525 new aix software update script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 17:03:48 +00:00
ligc e706f5cbd4 configib support multiple ipv4 addresses and IPv6 addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 03:39:58 +00:00
ligc d9725518d8 makeroutes support IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 02:32:24 +00:00
sjing d49c882778 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 04:53:56 +00:00
ligc adfb223fd4 call /etc/sysconfig/network-scripts/ifup-ipv6 on RedHat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:48:49 +00:00
ligc 2142411c43 add configth ipv6 support work with nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:22:55 +00:00
lissav 12bf36dfc0 Fix xcatdsklspost to xcataixpost interface, allow parameters on updatenode -P for AIX defect 3362
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 15:53:36 +00:00
lissav 8fbae2dfa7 fix bug 3365
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 19:08:25 +00:00
lissav 10f3c7dbad fix defect 3362, a portion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:46:29 +00:00
linggao ed299052be fixed defect 3360
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:34:12 +00:00
jjhua bf06d6b90a fixed bug 3358. set retry=0 every download
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 03:21:22 +00:00
lissav 852b07a725 code calls download_mypostscript routine with wrong input order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 20:18:59 +00:00
phamt 7032e938f0 Added script to create sudoer on nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-03 00:02:57 +00:00
billwajda 908a792a16 fixed configeth to correctly create ip alias on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 04:25:18 +00:00
billwajda 07c4a8419b fixed configeth to correctly create ip alias on SUSE/SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 15:17:09 +00:00
billwajda 1ca37edf75 fixed pattern match problem in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 11:58:48 +00:00
lissav cb75f60dd3 Change displaying the error message when running updatenode -Psysfiles to logging it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 13:06:06 +00:00
ligc 29d5191d91 fix for bug 3320: perl syntax problem in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 07:29:35 +00:00
linggao 150207c0d5 bug fix for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 22:14:26 +00:00
linggao ba48f4a0d8 Make routes persistent for sles/rh/ferdora/centos for makerouts command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:36:42 +00:00
billwajda 825f8d742b updates for confignics to support configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 19:03:07 +00:00
linggao 181f5a05b6 more fix for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 13:25:57 +00:00
linggao 3bb94e2487 made configib ready for config one nic at a time.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 20:48:04 +00:00
linggao 171017442d more on configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 21:25:08 +00:00
linggao 672fd91279 added configib postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 18:06:10 +00:00
jjhua 9b7b07a6ee fxied bug 3291 in AIX env. There is not precreatemypostscripts=1 in site table for AIX. So get the mypostscript.nodename.tmp directly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:23:39 +00:00
jjhua 24a5be82a2 fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp and get the mypostscripts.nodename.tmp later insteadf of mypostscripts.nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:20:12 +00:00
jjhua 485bf6c6b1 use -a as a logical and between two expression; use cron as a Should-start for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:16:47 +00:00
jjhua 87bb1c28ad correct the syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:44:47 +00:00
billwajda 3176fb6a27 check for either ! or : for delimeter in confignics and configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 20:25:08 +00:00
billwajda 35755455ce changed check for delimeter in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:55:19 +00:00
billwajda f2499a17f4 changed check for delimeter in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:49:02 +00:00