Commit Graph

1019 Commits

Author SHA1 Message Date
wanghuaz
8428a71e7b Fixing a problem that sles enables all the repos for new #NEW_INSTALL_LIST set, it prevents putting multiple versions of a packages with different repos into otherpkgs dir. Now we only enable the necessary repos for each zypper command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:11:05 +00:00
wanghuaz
0bc40f667a Fixing two problems: 1. previously all the repos are enabled for all the yum commands. now we only enable the required repos for each yum command. 2. run yum clean in the diskless image to cleanup the repo meta data. this is required if there are multiple versions for one package name to be installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:45:18 +00:00
xq2005
aa807e7dca statelss image support internet repo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 14:41:00 +00:00
xq2005
e977c2b2d8 load firmware in debian/ubuntu stateless initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 03:05:24 +00:00
immarvin
337ca536f0 nfs-utils package not exist in sles11 iso, use nfs-client instead or remove it from pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:34:58 +00:00
immarvin
f21047b44e replace xntp with ntp in sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:18:51 +00:00
immarvin
28e50efbef add ntp to the sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:10:04 +00:00
jbjohnso
094aee795f Fix issues with previous commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:37:36 +00:00
jbjohnso
1dcd7a42b1 Fix issue where powershell instrumentation fired up with no hope of successfully performing SSL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:37:29 +00:00
jbjohnso
95d973258c Have upflag try to use powershell when available instead of exes.
Have xCAT powershell client attempt without a certificate when no client certificate specified

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:58:09 +00:00
jbjohnso
cf0bfb9d11 Show errors in default formatting.
Add function to import exported credential package

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:58:01 +00:00
jbjohnso
df39576937 Finish xcoll, add some more objects to control formatting better, have NodeRange on pipeline attempt to join for chaining after xcoll
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:55 +00:00
jbjohnso
e6cee5014a Work towards an xcoll workalike, also likely a xcsv workalike
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:47 +00:00
jbjohnso
c1ee6f6383 Add familiar aliases for PS usage
Add more commands
Support pipelined strings and xCATNodeData for indicating noderange

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:42 +00:00
jbjohnso
50a575c952 Add some inital table formatting for typical output
Fix problem where Powershell replaces commas with spaces (hopefully fixed)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:37 +00:00
jbjohnso
6c97efdae9 Spice things up a little by putting in a vitals and a power test case, testing out the command send command
TODO: repackage the xml object into intended powershell objects
Output types:
-xCATData
-xCATNodeData
-xCATNoderangeData
xCAT Data has error and data not contained within a node
xCATNodeData has error and data contained within a node
xCATNoderangeData will be an aggregation of the above (to be treated differently ps1xml wise hopefully)

The original noderange will be chucked into any of these, for Merge-xCATNodeData to have as a hint maybe

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:30 +00:00
jbjohnso
d820388726 Actually have the powershell module successfully be able to run commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:22 +00:00
jbjohnso
354269134a Actually have a test case that will get to the permission denied phase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:16 +00:00
jbjohnso
6ef1671e23 Milestone for powershell client code, can now add the CA and successfully verify server:
PS R:\pst> import-module .\xCAT.psd1
PS R:\pst> Import-xCATCA .\ca-cert.pem
PS R:\pst> Connect-xCAT odin 3001
PS R:\pst>
(commit best reviewed while listening to O Fortuna)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:10 +00:00
jbjohnso
b28f6f307f A little more PowerShell experimentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:04 +00:00
jbjohnso
64b30e639c Add a manifest for the powershell xCAT client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:56 +00:00
jbjohnso
6055da9ab6 Rename xCAT powershell module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:49 +00:00
jbjohnso
6e36a72117 Modify xCAT Powershell libs to load without warning/error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:44 +00:00
jbjohnso
4f8cacb6bb Check in more comments and code into the still yet non-functional powershell module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:39 +00:00
jbjohnso
311e4d2e1d First pass at some xCAT powershell functions to build updatemynodestat/reportip/updateflag out of in name of removing compiled code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:33 +00:00
xq2005
29cbd7344e genimage on ubuntu12.04.2 meet package installation error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 10:21:53 +00:00
nott
25c43dac30 add bash to aix bundles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 17:11:56 +00:00
xq2005
e65799ab28 delete the uesless genimage.old
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 08:26:32 +00:00
immarvin
df101c0356 fixed some syntax in storage.rhels6.tmpl, as some variables are no longer supported in the kickstart. rename storage.pglist to storage.pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 07:21:57 +00:00
bp-sawyers
d3b43b6f9c added author to tools help
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 14:20:31 +00:00
xq2005
bda8a294b6 use the default pkglist on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:56:03 +00:00
xq2005
e3073a442f use the default pkglist on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:55:31 +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
bp-sawyers
199505c28b automatically build readme for tools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 23:48:24 +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
wanghuaz
a3875d16d1 Fixing bug 3372:Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskfull nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:14:12 +00:00
daniceexi
f7571ecb81 defect 3195: change the search pattern to the uxspi binary path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 11:11:00 +00:00
immarvin
8b57285cc1 add anaconda template for compute.rhel5.ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 07:39:33 +00:00
lissav
00c79814f4 Add info to the help
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 11:37:59 +00:00
immarvin
07295f7953 support genimage -l for dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:14:46 +00:00
immarvin
a2eb94fd1c support genimage -l for dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:10:32 +00:00
jjhua
baca52bda8 support multiple paths of pkg for centos compute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:09:35 +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
immarvin
8a1841c238 prevent remount root filesystem in rw mode during reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 08:50:45 +00:00
phamt
cb803eff21 Fixed post-script to echo default gateway to /etc/sysconfig/network/routes file in mkay4z script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 15:32:24 +00:00
phamt
b1b5e12fa4 Moved mkay4z script into /opt/xcat/share/xcat/scripts directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 19:57:00 +00:00
jjhua
1d200f5e4f support multiple paths of osimage on centos6 diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 03:23:32 +00:00
jjhua
6e64b59a07 support multiple paths of osimage in rhels diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 03:17:19 +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
lissav
372a951dee adding this new tool from Brian Finley. He put it in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 13:50:43 +00:00